Skip to content

Vite config using dist instead of build #103

@sethbuff

Description

@sethbuff

We are using the template for react using typescript and noticed that we are setting the outDir to build. We were having issues with using this setup with playwright so we switched it to using the default of dist.

This is the vite config from the template: https://github.com/guocaoyi/create-chrome-ext/blob/main/template-react-ts/vite.config.ts

Are there any downsides to using dist instead of build? What is the reason this is set up to use build?

This is not an issue but would be helpful for our implementation!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions