Skip to content

Commit

Permalink
Fix: no need to inject sourcemap url
Browse files Browse the repository at this point in the history
this is a job that webpack does
  • Loading branch information
mtripg6666tdr committed Jun 22, 2023
1 parent cb189d9 commit d2e7122
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugin.js
Original file line number Diff line number Diff line change
@@ -113,7 +113,6 @@ class NextJSObfuscatorPlugin {
const obfuscated = obfuscate(source, Object.assign({}, options, {
inputFileName: assetPath,
sourceMapMode: "separate",
sourceMapFileName: assetPath + ".map",
identifiersPrefix: `${this.baseIdentifiersPrefix}${this.identifiersPrefixCounter++}`
}));
const code = obfuscated.getObfuscatedCode();

0 comments on commit d2e7122

Please sign in to comment.