Skip to content

Commit 7803469

Browse files
authored
Merge pull request #67 from javascript-obfuscator/fix/source-map-generation
Fix source maps generation
2 parents 27414cf + 00ecad5 commit 7803469

File tree

2 files changed

+223
-122
lines changed

2 files changed

+223
-122
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class WebpackObfuscator {
3131
if (this.options.sourceMap && inputSourceMap) {
3232
const transferredSourceMap = transferSourceMap({
3333
fromSourceMap: obfuscationSourceMap,
34-
toSourceMap: inputSource
34+
toSourceMap: inputSourceMap
3535
});
3636
compilation.assets[fileName] = new webpack_sources_1.SourceMapSource(obfuscatedSource, fileName, transferredSourceMap, inputSource, inputSourceMap);
3737
}

0 commit comments

Comments
 (0)