|
@@ -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: {
|