diff --git a/lib/aggregator.js b/lib/aggregator.js
index 2408200..5d603ae 100644
--- a/lib/aggregator.js
+++ b/lib/aggregator.js
@@ -228,3 +228,4 @@ async function aggregateTokens(customSessionsRoot) {
export {
aggregateTokens
};
+//# sourceMappingURL=aggregator.js.map
diff --git a/lib/client.js b/lib/client.js
index 478d928..2519c93 100644
--- a/lib/client.js
+++ b/lib/client.js
@@ -600,7 +600,7 @@ function apply(ctx) {
const button = document.createElement("button");
button.className = "dsh-heatmap-trigger-btn";
button.type = "button";
- button.innerHTML = "\u{1F4CA} View 12-Month Activity Heatmap \u2192";
+ button.innerHTML = "View 12-Month Activity Heatmap \u2192";
button.style.cssText = `
display: flex;
align-items: center;
diff --git a/lib/index.js b/lib/index.js
index e5317dc..274317c 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -42,3 +42,4 @@ export {
inject,
name
};
+//# sourceMappingURL=index.js.map
diff --git a/scripts/build.mjs b/scripts/build.mjs
index 8add2c2..22ea9f8 100644
--- a/scripts/build.mjs
+++ b/scripts/build.mjs
@@ -4,6 +4,9 @@ console.log("Building server backend...");
execSync("npx esbuild src/server/index.ts src/server/aggregator.ts --outdir=lib --platform=node --format=esm --target=node20 --sourcemap", { stdio: "inherit" });
console.log("Building client frontend bundle...");
-execSync("npx esbuild src/client/index.tsx --outfile=lib/client.js --platform=browser --format=esm --target=es2022 --bundle --external:react --external:react-dom --external:react-dom/client --sourcemap", { stdio: "inherit" });
+const banner = 'window.__ModuleLoader__.load({ id: "dsh-plugin-token-heatmap", factory: (require) => { var module = { exports: {} }; var exports = module.exports;';
+const footer = 'return module.exports; } });';
+execSync(`npx esbuild src/client/index.tsx --outfile=lib/client.js --platform=browser --format=cjs --target=es2022 --bundle --external:react --external:react-dom --external:react-dom/client --banner:js='${banner}' --footer:js='${footer}' --sourcemap`, { stdio: "inherit" });
console.log("Build complete!");
+
diff --git a/src/client/index.tsx b/src/client/index.tsx
index c1c9767..8fc7aee 100644
--- a/src/client/index.tsx
+++ b/src/client/index.tsx
@@ -66,7 +66,7 @@ export function apply(ctx: any) {
const button = document.createElement("button");
button.className = "dsh-heatmap-trigger-btn";
button.type = "button";
- button.innerHTML = "📊 View 12-Month Activity Heatmap →";
+ button.innerHTML = "View 12-Month Activity Heatmap →";
button.style.cssText = `
display: flex;
align-items: center;