mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
sourceMapBaseUrl wip implementation
This commit is contained in:
@@ -84,6 +84,10 @@ export class JavaScriptObfuscatorInternal {
|
||||
* @returns {IObfuscationResult}
|
||||
*/
|
||||
public getObfuscationResult (): IObfuscationResult {
|
||||
if (this.options.sourceMapBaseUrl) {
|
||||
this.setSourceMapUrl(this.options.sourceMapBaseUrl);
|
||||
}
|
||||
|
||||
return new SourceMapCorrector(
|
||||
new ObfuscationResult(
|
||||
this.generatorOutput.code,
|
||||
|
||||
Reference in New Issue
Block a user