parent
d4599cbf5f
commit
0314ddf9ef
@ -1 +1 @@
|
|||||||
2021.3.2
|
2021.4.3
|
||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -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 } }),
|
||||||
|
],
|
||||||
|
};
|
||||||
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.
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 |
Loading…
Reference in new issue