sourceMapBaseUrl wip implementation

This commit is contained in:
sanex3339
2016-09-18 13:33:29 +03:00
parent 1a4f753b8d
commit 2dd6f91b7f
16 changed files with 273 additions and 40 deletions
+4
View File
@@ -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,