Update for Speech corrections. New version and some deprecation chnges.

This commit is contained in:
ccostan
2021-04-19 09:24:44 -04:00
parent d4599cbf5f
commit 0314ddf9ef
13 changed files with 260 additions and 52 deletions

File diff suppressed because one or more lines are too long

View 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 } }),
],
};

View File

@@ -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)
}
}

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB