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 5757 "react-dom" : " ^16" ,
5858 "rimraf" : " ^3.0.2" ,
5959 "rollup" : " ^2.12.1" ,
60- "rollup-plugin-uglify " : " ^6 .0.4 " ,
60+ "rollup-plugin-terser " : " ^7 .0.2 " ,
6161 "standard-version" : " 5" ,
6262 "typescript" : " ^3.9.3"
6363 },
Original file line number Diff line number Diff line change 11import commonjs from '@rollup/plugin-commonjs' ;
22import resolve from '@rollup/plugin-node-resolve' ;
3- import { uglify } from 'rollup-plugin-uglify ' ;
3+ import { terser } from 'rollup-plugin-terser ' ;
44
55/**
66 * Build rollup config for development (default) or production (minify = true).
@@ -20,7 +20,7 @@ const getConfig = (minify = false) => ({
2020 name : 'HTMLReactParser' ,
2121 sourcemap : true
2222 } ,
23- plugins : [ commonjs ( ) , resolve ( { browser : true } ) , minify && uglify ( ) ]
23+ plugins : [ commonjs ( ) , resolve ( { browser : true } ) , minify && terser ( ) ]
2424} ) ;
2525
2626export default [ getConfig ( ) , getConfig ( true ) ] ;
You can’t perform that action at this time.
0 commit comments