Skip to content

Commit

Permalink
replaced rollup-plugin-uglify-es by rollup-plugin-uglify
Browse files Browse the repository at this point in the history
  • Loading branch information
Camel Aissani committed Jul 1, 2017
1 parent bdde105 commit cff9b9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@
"rimraf": "^2.5.4",
"rollup": "^0.*",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-uglify-es": "0.0.1",
"sinon": "^1.*"
"rollup-plugin-uglify": "^2.0.1",
"sinon": "^1.*",
"uglify-es": "^3.*"
},
"files": [
"dist/",
Expand Down
6 changes: 4 additions & 2 deletions rollup.config.prod.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import uglify from 'rollup-plugin-uglify-es';

import babel from 'rollup-plugin-babel';
import uglify from 'rollup-plugin-uglify';
import { minify } from 'uglify-es';

export default {
entry: 'lib/frontexpress.js',
Expand All @@ -12,6 +14,6 @@ export default {
babelrc: false,
presets: ['es2015-rollup']
}),
uglify()
uglify({}, minify)
]
};

0 comments on commit cff9b9c

Please sign in to comment.