mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Renamed option: minify -> simplify
This commit is contained in:
@@ -218,8 +218,8 @@ export class JavaScriptObfuscator implements IJavaScriptObfuscator {
|
||||
astTree = this.runNodeTransformationStage(astTree, NodeTransformationStage.Converting);
|
||||
astTree = this.runNodeTransformationStage(astTree, NodeTransformationStage.Obfuscating);
|
||||
|
||||
if (this.options.minify) {
|
||||
astTree = this.runNodeTransformationStage(astTree, NodeTransformationStage.Minification);
|
||||
if (this.options.simplify) {
|
||||
astTree = this.runNodeTransformationStage(astTree, NodeTransformationStage.Simplifying);
|
||||
}
|
||||
|
||||
astTree = this.runNodeTransformationStage(astTree, NodeTransformationStage.Finalizing);
|
||||
|
||||
Reference in New Issue
Block a user