Files
Flash5/flash-extensions/flash-ext-web-bundler/docs/modes.md
T
Zakaria El OrcheandClaude Sonnet 5 8ece9975de feat(ext-web-bundler): add build-time asset scanning and static-frontend strategy
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>
2026-08-11 00:22:26 +00:00

816 B

Modes

Runtime Mode

  • PROD: production static serving only.
  • AUTODETECT: uses Flash.DEV.
  • ENV: uses FLASH_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.