File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 28
28
"@rollup/plugin-node-resolve" : " ^13.1.3" ,
29
29
"eslint" : " ^8.8.0" ,
30
30
"rollup" : " ^2.67.0" ,
31
- "rollup-plugin-uglify " : " ^6 .0.2"
31
+ "rollup-plugin-terser " : " ^7 .0.2"
32
32
},
33
33
"dependencies" : {
34
34
"chartkick" : " >=3.2.0"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import buble from "@rollup/plugin-buble";
2
2
import commonjs from "@rollup/plugin-commonjs" ;
3
3
import pkg from "./package.json" ;
4
4
import resolve from "@rollup/plugin-node-resolve" ;
5
- import { uglify } from "rollup-plugin-uglify " ;
5
+ import { terser } from "rollup-plugin-terser " ;
6
6
7
7
const input = "src/index.js" ;
8
8
const outputName = "VueChartkick" ;
@@ -55,11 +55,7 @@ export default [
55
55
resolve ( ) ,
56
56
commonjs ( ) ,
57
57
buble ( ) ,
58
- uglify ( {
59
- output : {
60
- comments : / ^ ! /
61
- }
62
- } )
58
+ terser ( )
63
59
]
64
60
} ,
65
61
{
You can’t perform that action at this time.
0 commit comments