mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
amis-saas-7740 dynmaic require 调整
Change-Id: Idd57619b51f745c688ef25fe1163fbdda06c081d
This commit is contained in:
parent
e3144466bf
commit
81c92814c2
@ -67,7 +67,7 @@ export default [
|
||||
maxSize: 10
|
||||
})
|
||||
]
|
||||
}),
|
||||
})
|
||||
])
|
||||
},
|
||||
{
|
||||
@ -97,7 +97,8 @@ function transpileDynamicImportForCJS(options) {
|
||||
|
||||
return {
|
||||
left: 'Promise.resolve().then(function() {return new Promise(function(fullfill) {require([',
|
||||
right: '], function(mod) {fullfill(tslib.__importStar(mod))})})})'
|
||||
right:
|
||||
'], function(mod) {fullfill(require("tslib").__importStar(mod))})})})'
|
||||
};
|
||||
|
||||
// return {
|
||||
|
Loading…
Reference in New Issue
Block a user