mirror of
https://github.com/home-assistant/frontend.git
synced 2026-08-18 02:52:46 +01:00
22ca986cce2a66d1cf5cd94cd435105e57f8151a
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>
…
…
…
Home Assistant Frontend
This is the repository for the official Home Assistant frontend.
Development
- Initial setup:
script/setup - Development: Instructions
- Production build:
yarn build - Gallery:
cd gallery && script/develop_gallery
Frontend development
Classic environment
A complete guide can be found at the following link. It describes a short guide for the build of project.
License
Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.
We use BrowserStack to test Home Assistant on a large variety of devices.
Languages
TypeScript
98.1%
JavaScript
1.8%

