We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 142bae1 commit d8dbc5eCopy full SHA for d8dbc5e
lib/optimize/UglifyJsPlugin.js
@@ -44,7 +44,7 @@ UglifyJsPlugin.prototype.apply = function(compiler) {
44
compilation.assets[file] = asset.__UglifyJsPlugin;
45
return;
46
}
47
- var inputSourceMap = compilation.assets[file].map();
+ var inputSourceMap = asset.map();
48
var sourceMap = new SourceMapConsumer(inputSourceMap);
49
uglify.AST_Node.warn_function = function(warning) {
50
var match = /\[.+:([0-9]+),([0-9]+)\]/.exec(warning);
0 commit comments