Skip to content

Commit

Permalink
update custom cards
Browse files Browse the repository at this point in the history
  • Loading branch information
matt8707 committed Mar 4, 2021
1 parent f4b5f33 commit 29230d0
Show file tree
Hide file tree
Showing 17 changed files with 88 additions and 175 deletions.
10 changes: 3 additions & 7 deletions www/community/lovelace-card-mod/card-mod.js

Large diffs are not rendered by default.

Binary file modified www/community/lovelace-card-mod/card-mod.js.gz
Binary file not shown.
24 changes: 24 additions & 0 deletions www/community/lovelace-card-mod/rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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: "card-mod.js",
format: "es",
},
plugins: [
nodeResolve(),
json(),
typescript(),
babel({
exclude: "node_modules/**",
}),
!dev && terser({ format: { comments: false } }),
],
};
Binary file added www/community/lovelace-card-mod/rollup.config.js.gz
Binary file not shown.
10 changes: 0 additions & 10 deletions www/community/lovelace-card-mod/webpack.config.js

This file was deleted.

Binary file removed www/community/lovelace-card-mod/webpack.config.js.gz
Binary file not shown.
92 changes: 0 additions & 92 deletions www/community/lovelace-layout-card/layout-card.js

This file was deleted.

Binary file removed www/community/lovelace-layout-card/layout-card.js.gz
Binary file not shown.
10 changes: 0 additions & 10 deletions www/community/lovelace-layout-card/webpack.config.js

This file was deleted.

Binary file removed www/community/lovelace-layout-card/webpack.config.js.gz
Binary file not shown.
24 changes: 24 additions & 0 deletions www/community/lovelace-slider-entity-row/rollup.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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: "slider-entity-row.js",
format: "es",
},
plugins: [
nodeResolve(),
json(),
typescript(),
babel({
exclude: "node_modules/**",
}),
!dev && terser({ format: { comments: false } }),
],
};
Binary file not shown.
Loading

0 comments on commit 29230d0

Please sign in to comment.