parcoursup/node_modules/webpack-cli/lib/utils/dynamic-import-loader.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

14 lines
317 B
JavaScript

"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;