Skip to content

Commit dc10531

Browse files
evanblackdevongovett
authored andcommitted
Fix typo in uglify.js (#1468)
Fix a typo that prevented source maps from being carried over when minifying.
1 parent fc4a9f6 commit dc10531

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/transforms/uglify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = async function(asset) {
1616
};
1717

1818
let sourceMap;
19-
if (asset.options.sourceMap) {
19+
if (asset.options.sourceMaps) {
2020
sourceMap = new SourceMap();
2121
options.output = {
2222
source_map: {

0 commit comments

Comments
 (0)