saberfr
Results
2
comments of
saberfr
看了下编译后的文件,发现在定义ENV_TYPE之前前多了一行代码调用了@morjs/api,注释掉相关代码就正常了 
试了下,将注入配置里的api改为lite,使用my对象来替代__MOR_API__能解决这个问题: ``` { name: 'web', sourceType: 'wechat', target: 'web', compileType: 'miniprogram', processNodeModules: true, compileMode: 'bundle', autoInjectRuntime: { app: true, page: true, component: true, behavior: true, // API 运行时抹平注入, 指定为 true...