feat: use classpath load core js
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
@ -382,6 +382,17 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
require.disable = function __DynamicDisable__() {
|
||||
for (var cacheModule in cacheModules) {
|
||||
delete cacheModules[cacheModule]
|
||||
}
|
||||
cacheModules = undefined;
|
||||
for (var cacheModule in cacheModuleIds) {
|
||||
delete cacheModuleIds[cacheModule]
|
||||
}
|
||||
cacheModuleIds = undefined;
|
||||
notFoundModules = undefined;
|
||||
}
|
||||
return require;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user