completely move off sharp, use monaco for the editor now and use tabulator for tables (much easier and better performance).

This commit is contained in:
KingKDot
2026-05-30 20:38:32 -05:00
parent f7ea8f207a
commit 5933297686
15 changed files with 661 additions and 333 deletions
+20
View File
@@ -166,6 +166,26 @@ if (existsSync(path.join(leafRoot, "images"))) {
copyDir(path.join(leafRoot, "images"), path.join(VENDOR, "leaflet", "images"));
}
/* ── Monaco Editor ───────────────────────────────────────────────── */
console.log("Copying Monaco Editor ...");
copyDir(
path.join(NM, "monaco-editor", "min", "vs"),
path.join(VENDOR, "monaco", "vs"),
);
/* ── Tabulator ───────────────────────────────────────────────────── */
console.log("Copying Tabulator ...");
copyFile(
path.join(NM, "tabulator-tables", "dist", "js", "tabulator_esm.min.js"),
path.join(VENDOR, "tabulator", "tabulator_esm.min.js"),
);
copyFile(
path.join(NM, "tabulator-tables", "dist", "css", "tabulator_midnight.min.css"),
path.join(VENDOR, "tabulator", "tabulator_midnight.min.css"),
);
/* ── highlight.js (bundle core + languages) ──────────────────────── */
console.log("Bundling highlight.js ...");