main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 5 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
320 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | function dynamicImportLoader() {
|
---|
| 4 | let importESM;
|
---|
| 5 | try {
|
---|
| 6 | importESM = new Function("id", "return import(id);");
|
---|
| 7 | }
|
---|
| 8 | catch (_err) {
|
---|
| 9 | importESM = null;
|
---|
| 10 | }
|
---|
| 11 | return importESM;
|
---|
| 12 | }
|
---|
| 13 | module.exports = dynamicImportLoader;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.