mo 1 year ago
parent
commit
f7a42b53be
1 changed files with 1 additions and 12 deletions
  1. 1 12
      vite.config.ts

+ 1 - 12
vite.config.ts

@@ -26,7 +26,6 @@ function resolve(dir: string) {
 // const proxyUrl = 'https://dev.kt.colexiu.com/';
 const proxyUrl = 'https://test.lexiaoya.cn';
 const now = new Date().getTime();
-const sign = `e/${now}`;
 export default defineConfig(() => {
   return {
     base: './',
@@ -137,17 +136,7 @@ export default defineConfig(() => {
       __APP_VERSION__: now
     },
     build: {
-      target: 'es2015',
-      rollupOptions: {
-        input: {
-          1: path.resolve(__dirname, './src/index.html')
-        },
-        output: {
-          entryFileNames: `${sign}/[name].js`,
-          chunkFileNames: `${sign}/[name].js`,
-          assetFileNames: `${sign}/[name].[ext]`
-        }
-      }
+      target: 'es2015'
     },
     resolve: {
       alias: {