diff --git a/vite.config.ts b/vite.config.ts index 4793531..fade83e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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', },