Skip to content

Commit

Permalink
Fix typo in uglify.js (#1468)
Browse files Browse the repository at this point in the history
Fix a typo that prevented source maps from being carried over when minifying.
  • Loading branch information
evanblack authored and devongovett committed Jun 1, 2018
1 parent fc4a9f6 commit dc10531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transforms/uglify.js
Expand Up @@ -16,7 +16,7 @@ module.exports = async function(asset) {
};

let sourceMap;
if (asset.options.sourceMap) {
if (asset.options.sourceMaps) {
sourceMap = new SourceMap();
options.output = {
source_map: {
Expand Down

0 comments on commit dc10531

Please sign in to comment.