This commit is contained in:
parent
5f4884e3e6
commit
e7a91a18f6
1 changed files with 8 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import { resolve } from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
root: 'web',
|
||||
|
|
@ -6,5 +7,12 @@ export default defineConfig({
|
|||
build: {
|
||||
outDir: '../dist',
|
||||
emptyOutDir: true,
|
||||
rollupOptions: {
|
||||
input: {
|
||||
index: resolve(__dirname, 'web/index.html'),
|
||||
app: resolve(__dirname, 'web/app.html'),
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue