Skip to content

Commit

Permalink
Replace uglify-es with terser
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Nov 11, 2018
1 parent e226592 commit 4a2f23b
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 32 deletions.
169 changes: 141 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
"karma-sourcemap-loader": "^0.3.7",
"mocha": "^3.5.3",
"remap-istanbul": "^0.9.6",
"rollup": "^0.59.4",
"rollup": "^0.67.0",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-glob-import": "^0.3.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-uglify-es": "0.0.1",
"rollup-plugin-terser": "3.0.0",
"sinon": "^2.4.1",
"sinon-chai": "^2.14.0",
"typeface-ubuntu": "0.0.22",
Expand Down
4 changes: 2 additions & 2 deletions rollup.config.app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let commonjs = require('rollup-plugin-commonjs');
let resolve = require('rollup-plugin-node-resolve');
let json = require('rollup-plugin-json');
let uglify = require('rollup-plugin-uglify-es');
let terser = require('rollup-plugin-terser').terser;

module.exports = {
input: 'app/scripts/index.js',
Expand All @@ -18,6 +18,6 @@ module.exports = {
}),
commonjs(),
json(),
uglify()
terser()
]
};

0 comments on commit 4a2f23b

Please sign in to comment.