* HACS badge * hacs.json * New action handling with double tap support * Cleanup
20 lines
416 B
JavaScript
20 lines
416 B
JavaScript
import resolve from 'rollup-plugin-node-resolve';
|
|
import typescript from 'rollup-plugin-typescript2';
|
|
import babel from 'rollup-plugin-babel';
|
|
import { terser } from "rollup-plugin-terser";
|
|
|
|
export default {
|
|
input: ['src/boilerplate-card.ts'],
|
|
output: {
|
|
dir: './dist',
|
|
format: 'es',
|
|
},
|
|
plugins: [
|
|
resolve(),
|
|
typescript(),
|
|
babel({
|
|
exclude: 'node_modules/**'
|
|
}),
|
|
terser()]
|
|
};
|