fix build config

This commit is contained in:
AnisHADJARAB 2024-10-30 14:12:42 +00:00
parent 2ad34191d2
commit 8767b5c5c4

View File

@ -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',
},