mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-02 11:48:36 +08:00
build:用terser混淆时会出现警告,需要配置minify为terser,或者用esbuild
This commit is contained in:
parent
8000aaeb13
commit
c1e1610837
@ -63,7 +63,8 @@ export default defineConfig({
|
||||
build: {
|
||||
target: 'es2015',
|
||||
outDir: OUTPUT_DIR,
|
||||
terserOptions: terserOptions,
|
||||
// minify: 'terser', // 如果需要用terser混淆,可打开这两行
|
||||
// terserOptions: terserOptions,
|
||||
rollupOptions: rollupOptions,
|
||||
brotliSize: brotliSize,
|
||||
chunkSizeWarningLimit: chunkSizeWarningLimit
|
||||
|
Loading…
Reference in New Issue
Block a user