Files
advanced-camera-card/scripts/public-entries.ts
T
Dermot Duffy 80ec92e3b2 refactor: Replace Rollup with Vite (#2656)
This is a high risk change: every byte the card ships is emitted by a
different bundler, minified by a different minifier, and every
stylesheet is compiled by a different sass. The intent is that the
card's behaviour is unchanged.

**Significant development win**: Build time drops from 24s to 1.1s 🎉 

Also adds a test suite ('dist') that runs against the built bundle.
2026-08-04 15:00:13 -07:00

14 lines
471 B
TypeScript

/**
* The files a Home Assistant dashboard resource may list.
*
* Everything else the build emits is hashed, so this is the one name that has to
* stay put across releases.
*/
export const PUBLIC_ENTRY = 'advanced-camera-card.js';
/**
* Both names a dashboard resource can name: the current one, and the one the
* card shipped under previously, kept so an existing resource keeps working.
*/
export const PUBLIC_ENTRIES = [PUBLIC_ENTRY, 'frigate-hass-card.js'];