File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 57
57
"react-dom" : " ^16" ,
58
58
"rimraf" : " ^3.0.2" ,
59
59
"rollup" : " ^2.12.1" ,
60
- "rollup-plugin-uglify " : " ^6 .0.4 " ,
60
+ "rollup-plugin-terser " : " ^7 .0.2 " ,
61
61
"standard-version" : " 5" ,
62
62
"typescript" : " ^3.9.3"
63
63
},
Original file line number Diff line number Diff line change 1
1
import commonjs from '@rollup/plugin-commonjs' ;
2
2
import resolve from '@rollup/plugin-node-resolve' ;
3
- import { uglify } from 'rollup-plugin-uglify ' ;
3
+ import { terser } from 'rollup-plugin-terser ' ;
4
4
5
5
/**
6
6
* Build rollup config for development (default) or production (minify = true).
@@ -20,7 +20,7 @@ const getConfig = (minify = false) => ({
20
20
name : 'HTMLReactParser' ,
21
21
sourcemap : true
22
22
} ,
23
- plugins : [ commonjs ( ) , resolve ( { browser : true } ) , minify && uglify ( ) ]
23
+ plugins : [ commonjs ( ) , resolve ( { browser : true } ) , minify && terser ( ) ]
24
24
} ) ;
25
25
26
26
export default [ getConfig ( ) , getConfig ( true ) ] ;
You can’t perform that action at this time.
0 commit comments