@bobfrankston/rmfmail 1.2.71 → 1.2.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/build-bundles.mjs
CHANGED
|
@@ -173,7 +173,12 @@ async function buildAll() {
|
|
|
173
173
|
}
|
|
174
174
|
const failed = results.filter(r => !r.ok).length;
|
|
175
175
|
if (failed) process.exit(1);
|
|
176
|
-
|
|
176
|
+
// NOTE: do NOT stamp `?v=` cache-bust query strings onto the bundle URLs.
|
|
177
|
+
// msger's custom protocol can't resolve `app.bundle.js?v=<hash>` — the
|
|
178
|
+
// dynamic import() hangs forever (never resolves OR rejects), so the whole
|
|
179
|
+
// app dies: no version, no interactivity, only the boot-snapshot paint
|
|
180
|
+
// (Bob 2026-06-26 "very broken, no version"). Cache-busting must use a real
|
|
181
|
+
// filename change (hashed filename) if revisited, never a query string.
|
|
177
182
|
console.log(`build-bundles: done in ${Date.now() - t0} ms`);
|
|
178
183
|
}
|
|
179
184
|
|
|
@@ -557,7 +557,7 @@
|
|
|
557
557
|
Replaces a multi-file ES module cascade through msger's custom
|
|
558
558
|
protocol IPC that was visibly slow on compose-open. Source remains
|
|
559
559
|
compose.ts; the .js is for fallback / debugging only. -->
|
|
560
|
-
<script type="module" src="compose.bundle.js
|
|
560
|
+
<script type="module" src="compose.bundle.js"></script>
|
|
561
561
|
</head>
|
|
562
562
|
<body>
|
|
563
563
|
<div class="compose-header">
|
package/client/index.html
CHANGED
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
// dynamically imported module" bootstrap failure). The bundle inlines
|
|
678
678
|
// every transitive dep, so no further import-map resolution is needed
|
|
679
679
|
// after this fetch.
|
|
680
|
-
const m = await import("./android-bootstrap.bundle.js
|
|
680
|
+
const m = await import("./android-bootstrap.bundle.js");
|
|
681
681
|
window.__btick && window.__btick("android-bootstrap module loaded");
|
|
682
682
|
await m.initAndroid();
|
|
683
683
|
window.__btick && window.__btick("initAndroid done");
|
|
@@ -692,7 +692,7 @@
|
|
|
692
692
|
// bundle is regenerated by `npm run build` via
|
|
693
693
|
// bin/build-bundles.mjs; dynamic `await import()` of optional
|
|
694
694
|
// adapters (rmf-tiny, android-bootstrap) stays external.
|
|
695
|
-
await import("./app.bundle.js
|
|
695
|
+
await import("./app.bundle.js");
|
|
696
696
|
window.__btick && window.__btick("app.bundle.js loaded");
|
|
697
697
|
} catch (e) {
|
|
698
698
|
const msg = "BOOTSTRAP FAILED: " + (e.message || e) + "\n" + (e.stack || "");
|