Introduces AssetDirectoryScanner, StaticFrontendStrategy, and WebBundlerBuild for build-time asset discovery, plus config/docs updates for frontend-type resolution. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
816 B
816 B
Modes
Runtime Mode
PROD: production static serving only.AUTODETECT: usesFlash.DEV.ENV: usesFLASH_WEB_BUNDLER_MODE(dev=> dev mode, else prod).
Operation Mode
ORCHESTRATE_ONLY: only orchestrates dev tooling.MANAGED: enables production serving + SPA fallback routes.
FrontendType.STATIC defaults operationMode to MANAGED (see frontend-selection.md) — STATIC
has no dev tooling to orchestrate, so ORCHESTRATE_ONLY would make the extension a no-op for it.
Orchestration
Whether DEV mode spawns a dev-server process at all is a separate axis from Runtime Mode: it also
depends on frontendType. VITE orchestrates in DEV; STATIC never does, in DEV or PROD — it
always loads and serves assetsSource directly, the same path VITE only takes in PROD.