Sfoglia il codice sorgente

删除代码混淆

CzRger 1 mese fa
parent
commit
02206a9345
2 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 1
      package.json
  2. 0 5
      vite.config.ts

+ 0 - 1
package.json

@@ -59,7 +59,6 @@
     "typescript": "^5.7.2",
     "typescript-eslint": "^8.34.0",
     "vite": "^6.3.5",
-    "vite-plugin-bundle-obfuscator": "^1.8.0",
     "vue-eslint-parser": "^10.1.3",
     "vue-tsc": "^2.2.0"
   }

+ 0 - 5
vite.config.ts

@@ -8,7 +8,6 @@ import { createSvgIconsPlugin } from 'vite-plugin-svg-icons' // 【svg-icons相
 import VitePluginHtmlEnv from 'vite-plugin-html-env'
 // @ts-ignore
 import tailwindcss from '@tailwindcss/vite'
-import vitePluginBundleObfuscator from 'vite-plugin-bundle-obfuscator'
 
 const time = new Date().getTime()
 export default defineConfig(({ mode, command }) => {
@@ -44,10 +43,6 @@ export default defineConfig(({ mode, command }) => {
         promiseExportName: '__tla',
         promiseImportName: (i) => `__tla_${i}`,
       }),
-      vitePluginBundleObfuscator({
-        autoExcludeNodeModules: true,
-        threadPool: true,
-      }),
     ],
     base: '/' + VITE_BASE + '/',
     resolve: {