0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00
penpot/frontend/resources/polyfills/dynamicImport.js
Andrey Antukh 607deb31dc ♻️ Refactor bundle mechanism
Mainly leave shadow-cljs for build cljs stuff and use esbuild
for bundle all js dependencies, completly avoiding all possible
incompatibility issues between js libraries and google closure
compiler.
2024-11-01 10:04:03 +01:00

7 lines
142 B
JavaScript

if (!('dynamicImport' in globalThis)) {
globalThis.dynamicImport = function(uri) {
return import(uri);
}
};
var global = globalThis;