fix build config
This commit is contained in:
parent
2ad34191d2
commit
8767b5c5c4
@ -14,14 +14,14 @@ export default defineConfig({
|
||||
wasm(),
|
||||
createHtmlPlugin({
|
||||
minify: true,
|
||||
template: 'src/index.html',
|
||||
template: 'index.html',
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
target: 'esnext',
|
||||
rollupOptions: {
|
||||
input: './src/index.ts',
|
||||
input: './src/router.ts',
|
||||
output: {
|
||||
entryFileNames: 'index.js',
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user