Skip to content

Commit 27414cf

Browse files
authored
Merge pull request #59 from praneetrohida/patch-1
Fix source maps generation
2 parents 57ececb + 961a5ee commit 27414cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class WebpackObfuscator {
4242
if (this.options.sourceMap && inputSourceMap) {
4343
const transferredSourceMap = transferSourceMap({
4444
fromSourceMap: obfuscationSourceMap,
45-
toSourceMap: inputSource
45+
toSourceMap: inputSourceMap
4646
});
4747

4848
compilation.assets[fileName] = new SourceMapSource(
@@ -89,4 +89,4 @@ class WebpackObfuscator {
8989
}
9090
}
9191

92-
export = WebpackObfuscator;
92+
export = WebpackObfuscator;

0 commit comments

Comments
 (0)