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