Browse Source

chore: umd setting minify

richard1015 3 years ago
parent
commit
7b64c4f612
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vite.config.build.ts

+ 1 - 1
vite.config.build.ts

@@ -25,7 +25,7 @@ export default defineConfig({
   },
   },
   plugins: [vue()],
   plugins: [vue()],
   build: {
   build: {
-    minify: false,
+    minify: true,
     rollupOptions: {
     rollupOptions: {
       // 请确保外部化那些你的库中不需要的依赖
       // 请确保外部化那些你的库中不需要的依赖
       external: ['vue', 'vue-router', '@nutui/icons-vue'],
       external: ['vue', 'vue-router', '@nutui/icons-vue'],