diff --git a/src/config/types.ts b/src/config/types.ts index 19b78f7..ebce9b0 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -329,6 +329,12 @@ export interface MpWeixin { setting: { /** 是否启用 ES6 转 ES5 */ es6: boolean; + /** + * 是否使用增强编译 + * + * {@link https://developers.weixin.qq.com/community/develop/doc/0002ce07a58000a57c5da5e6456c09 regeneratorRuntime 相关报错排查指引} + */ + es7: boolean; /** 是否使用增强编译 */ enhance: boolean; /** 上传代码时样式是否自动补全 */