Open edward-kramphub opened 4 years ago
Hi, this is my rollup.config.js
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";
import execute from 'rollup-plugin-execute';
export default {
input: ['src/ha-card-weather-conditions.ts'],
output: {
dir: './dist',
format: 'esm',
sourceMap: 'inline'
},
plugins: [
resolve(),
typescript(),
babel({
exclude: 'node_modules/**'
}),
terser(),
execute([
'echo "$(date \'+%d/%m/%Y %H:%M:%S\') rollup done." ; echo -e \'\\007\''
])
]
};
Hi, Trying to run this card in my dev environment, but the rollup.config.js is mising. Could you update the project with this file? Would be much appreciated!