update sw config build
This commit is contained in:
parent
f9874294c1
commit
770d6b7e00
|
|
@ -35,9 +35,10 @@ export default defineConfig({
|
||||||
'@web': path.resolve(__dirname, '../web/src'),
|
'@web': path.resolve(__dirname, '../web/src'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
publicDir: false,
|
||||||
build: {
|
build: {
|
||||||
|
// outputs into the public dir, where the build of vite.config.ts will pick it up
|
||||||
outDir: path.resolve(__dirname, 'public'),
|
outDir: path.resolve(__dirname, 'public'),
|
||||||
// Output dir is shared with vite.config.ts, clearing it here is racy.
|
|
||||||
emptyOutDir: false,
|
emptyOutDir: false,
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
input: {
|
input: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue