Note in native-shell.js that editing it leaves the apps behind
Also serves as the first real exercise of the build-apps workflow: a change under mobile/src should rebuild both apps on the ingest Mac without touching the web deploy, which only watches server/**. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
76e74dc0fa
commit
b5a3d48d86
@@ -1,6 +1,10 @@
|
||||
// native-shell.js — the iOS/Android-only layer. Bundled by esbuild into www/native-shell.js
|
||||
// and injected ONLY into the app bundles, never served to the website.
|
||||
//
|
||||
// Editing this file, or anything under server/public, puts the shipped apps behind the
|
||||
// website: they carry a copy of the UI taken at build time. A push rebuilds them on the
|
||||
// ingest Mac and emails to say so, but shipping is still ./release.sh --ios --android.
|
||||
//
|
||||
// Two jobs:
|
||||
// 1. Publish the Capacitor plugins on window.CapPlugins, synchronously, before
|
||||
// native-bridge.js and app.js parse. That's why this is bundled as an IIFE and loaded
|
||||
|
||||
Reference in New Issue
Block a user