Skip to content

Commit

Permalink
Merge pull request #1464 from FelixRilling/dependency-uglify
Browse files Browse the repository at this point in the history
update uglify-js to v3
  • Loading branch information
Rich-Harris committed Jul 9, 2017
2 parents c026cb2 + c660001 commit 3237330
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 78 deletions.
77 changes: 4 additions & 73 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -69,7 +69,7 @@
"sander": "^0.6.0",
"source-map": "^0.5.6",
"sourcemap-codec": "^1.3.0",
"uglify-js": "^2.6.2"
"uglify-js": "^3.0.19"
},
"dependencies": {
"source-map-support": "^0.4.0"
Expand Down
5 changes: 3 additions & 2 deletions test/sourcemaps/names-transformed/_config.js
Expand Up @@ -25,8 +25,9 @@ module.exports = {
},
transformBundle: function ( code ) {
return uglify.minify( code, {
fromString: true,
outSourceMap: 'x'
sourceMap: {
filename: 'x'
}
});
}
}
Expand Down
5 changes: 3 additions & 2 deletions test/sourcemaps/transform-bundle/_config.js
Expand Up @@ -10,8 +10,9 @@ module.exports = {
{
transformBundle: function ( code ) {
var options = {
fromString: true,
outSourceMap: 'x' // trigger sourcemap generation
sourceMap: {
filename: 'x' // trigger sourcemap generation
}
};

return uglify.minify( code, options );
Expand Down

0 comments on commit 3237330

Please sign in to comment.