mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 20:16:52 +00:00
Update for Speech corrections. New version and some deprecation chnges.
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
24
config/www/community/lovelace-auto-entities/rollup.config.js
Normal file
24
config/www/community/lovelace-auto-entities/rollup.config.js
Normal file
@@ -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: "auto-entities.js",
|
||||
format: "es",
|
||||
},
|
||||
plugins: [
|
||||
nodeResolve(),
|
||||
json(),
|
||||
typescript(),
|
||||
babel({
|
||||
exclude: "node_modules/**",
|
||||
}),
|
||||
!dev && terser({ format: { comments: false } }),
|
||||
],
|
||||
};
|
BIN
config/www/community/lovelace-auto-entities/rollup.config.js.gz
Normal file
BIN
config/www/community/lovelace-auto-entities/rollup.config.js.gz
Normal file
Binary file not shown.
@@ -1,10 +0,0 @@
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
entry: './src/main.js',
|
||||
mode: 'production',
|
||||
output: {
|
||||
filename: 'auto-entities.js',
|
||||
path: path.resolve(__dirname)
|
||||
}
|
||||
}
|
Binary file not shown.
Reference in New Issue
Block a user