Redo the change to uglify-es, which got lost in a merge.

When I merged devel into meteor/meteor#8698 and bumped the version, I
mistakenly overwrote the (quite important) '-es' extension on the new
UglifyJS package.  This reinstates that change, originally implemented
by 9d81f0e6c5.
This commit is contained in:
Jesse Rosenberger
2017-09-05 17:20:55 +03:00
parent 0d2c3f9ff2
commit 6b80cdaea4
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ meteorJsMinify = function (source) {
var result = {};
var NODE_ENV = process.env.NODE_ENV || "development";
uglify = uglify || Npm.require("uglify-js");
uglify = uglify || Npm.require("uglify-es");
try {
var uglifyResult = uglify.minify(source, {

View File

@@ -4,7 +4,7 @@ Package.describe({
});
Npm.depends({
"uglify-js": "3.0.28"
"uglify-es": "3.0.28"
});
Package.onUse(function (api) {