♻️ 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:
Andrey Antukh 2024-10-31 16:43:20 +01:00
parent 366bca5f93
commit 607deb31dc
45 changed files with 2833 additions and 257 deletions

View file

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