mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
♻️ 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.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
if (!('dynamicImport' in window)) {
|
||||
window.dynamicImport = function(uri) {
|
||||
if (!('dynamicImport' in globalThis)) {
|
||||
globalThis.dynamicImport = function(uri) {
|
||||
return import(uri);
|
||||
}
|
||||
};
|
||||
|
||||
var global = globalThis;
|
||||
|
||||
Reference in New Issue
Block a user