We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a2bbab + ed911cb commit 43d5e29Copy full SHA for 43d5e29
index.js
@@ -11,7 +11,7 @@
11
// Component变量只有在项目中通过json配置声明组件后,打包的时候才会声明赋值,否则访问不到
12
const banner = `
13
if (!global) {
14
- var globalModule = require('global');
+ var globalModule = require('core-js').global;
15
var Component = Component ? Component : globalModule.AFAppX.WorkerComponent;
16
var global = globalModule.AFAppX.$global || {};
17
}
0 commit comments