Browse Source

feat: 添加 ES6 转 ES5 和压缩选项到配置

feige996 11 tháng trước cách đây
mục cha
commit
6eccf0a294
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      manifest.config.ts

+ 3 - 0
manifest.config.ts

@@ -113,6 +113,9 @@ export default defineManifestConfig({
     appid: VITE_WX_APPID,
     setting: {
       urlCheck: false,
+      // 是否启用 ES6 转 ES5
+      es6: true,
+      minified: true,
     },
     usingComponents: true,
     // __usePrivacyCheck__: true,