mirror of
https://github.com/home-assistant/frontend.git
synced 2026-08-16 10:02:41 +01:00
The gallery build is the only e2e build that still emits source maps: unlike demo and the e2e test app, `bundle.config.gallery` never accepted `isTestBuild`, so the production build always used `nosources-source-map` — even though the artifact is only ever loaded by Playwright. The e2e run's gallery artifact contains 693 `.map` files (14 MB of a 105 MB dist); the demo artifact, which already passes `is-test`, contains none. Thread `isTestBuild` through the gallery config and set `is-test: true` for the e2e gallery build, so those maps are no longer generated. The design deployment and preview workflows do not set `IS_TEST`, so they keep their source maps. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>