Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change dist folder? #5

Closed
joezappie opened this issue Nov 22, 2022 · 1 comment
Closed

Change dist folder? #5

joezappie opened this issue Nov 22, 2022 · 1 comment

Comments

@joezappie
Copy link

I've configured my vite to use another dist folder:

build: {
    target: 'esnext',
    outDir: '../dist',
    emptyOutDir: true,
  },

I notice that when building vite with VitePWA dev mode enabled, it creates anopther folder called 'dev-dist' that contains the registerSW.js, sw.js and workbox-*.js files.

Is there a way to configure where these files are put? I just want them to go into the vite configured dist folder.

@joezappie
Copy link
Author

Realized this is the wrong github project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant