feat: initial commit
This commit is contained in:
13
node_modules/webpack-cli/lib/utils/dynamic-import-loader.js
generated
vendored
Normal file
13
node_modules/webpack-cli/lib/utils/dynamic-import-loader.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
function dynamicImportLoader() {
|
||||
let importESM;
|
||||
try {
|
||||
importESM = new Function("id", "return import(id);");
|
||||
}
|
||||
catch (e) {
|
||||
importESM = null;
|
||||
}
|
||||
return importESM;
|
||||
}
|
||||
module.exports = dynamicImportLoader;
|
Reference in New Issue
Block a user