Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

chore(native): keep the page script list private to the offline shell

Maurice3cef8eae5e56
diff --git a/client/src/native/offlineShell.ts b/client/src/native/offlineShell.ts
index f278b8dc2..0b2915e1c 100644
--- a/client/src/native/offlineShell.ts
+++ b/client/src/native/offlineShell.ts
@@ -56,7 +56,7 @@ export function manifestFiles(manifest: unknown, language?: string): string[] {
* (theme-boot.js, shell-guard.js). They block the first paint and come from
* the public folder, which the build's manifest does not list.
*/
-export function pageScripts(doc: Document = document): string[] {
+function pageScripts(doc: Document = document): string[] {
const files: string[] = [];
doc.querySelectorAll<HTMLScriptElement>('script[src]').forEach((script) => {
if (script.type === 'module') return;