mirror of
https://github.com/Matysh/houseplan-card
synced 2026-07-30 08:46:03 +00:00
- floors wizard: spaces from the HA floor registry, step-by-step with mandatory plan upload per floor, skip support, auto-markup after the last one - icon rules as data (settings.icon_rules) + in-card editor with live test, invalid-regex guard, bilingual defaults, device_class fallback chain - tap_action (card) + per-device override; security model: card-wide toggle only for light/switch/fan/humidifier, explicit override for covers, never lock/alarm; 600ms long-press always opens the info card - i18n dictionaries → src/i18n/*.json (+parity tests); light-theme badge fixes - frontend tests 15→28
15 lines
422 B
JavaScript
Executable File
15 lines
422 B
JavaScript
Executable File
import typescript from '@rollup/plugin-typescript';
|
|
import json from '@rollup/plugin-json';
|
|
import resolve from '@rollup/plugin-node-resolve';
|
|
import terser from '@rollup/plugin-terser';
|
|
|
|
export default {
|
|
input: 'src/houseplan-card.ts',
|
|
output: {
|
|
file: 'dist/houseplan-card.js',
|
|
format: 'es',
|
|
sourcemap: false,
|
|
},
|
|
plugins: [resolve(), json(), typescript(), terser({ format: { comments: false } })],
|
|
};
|