Files
rikku-home-assistant/app-configs/homeassistant/www/community/lovelace-auto-entities/rollup.config.js
T
Trez.One a4b146ad07
Home Assistant & Miscellaneous Deployment / Check and Create PR (push) Successful in 37s
Home Assistant & Miscellaneous Deployment / Generate list of added/modified/deleted services (push) Failing after 21s
Home Assistant & Miscellaneous Deployment / Home Assistant Configuration Check (push) Has been skipped
Home Assistant & Miscellaneous Deployment / Docker Compose Dry Run (push) Has been skipped
Directory structure overhaul
2025-08-24 10:38:16 -04:00

25 lines
556 B
JavaScript

import nodeResolve from "@rollup/plugin-node-resolve";
import json from "@rollup/plugin-json";
import typescript from "rollup-plugin-typescript2";
import terser from "@rollup/plugin-terser";
import babel from "@rollup/plugin-babel";
const dev = process.env.ROLLUP_WATCH;
export default {
input: "src/main.ts",
output: {
file: "auto-entities.js",
format: "es",
},
plugins: [
nodeResolve(),
json(),
typescript(),
babel({
exclude: "node_modules/**",
}),
!dev && terser({ format: { comments: false } }),
],
};