amis-saas-7740 dynmaic require 调整

Change-Id: Idd57619b51f745c688ef25fe1163fbdda06c081d
This commit is contained in:
2betop 2022-12-30 18:10:30 +08:00
parent e3144466bf
commit 81c92814c2

View File

@ -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 {