Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Following options are available for the JS Obfuscator:
identifierNamesGenerator: 'hexadecimal',
identifiersDictionary: [],
identifiersPrefix: '',
ignoreRequireImports: false,
ignoreImports: false,
inputFileName: '',
log: false,
numbersToExpressions: false,
Expand Down Expand Up @@ -836,7 +836,7 @@ Sets prefix for all global identifiers.

Use this option when you want to obfuscate multiple files. This option helps to avoid conflicts between global identifiers of these files. Prefix should be different for every file.

### `ignoreRequireImports`
### `ignoreImports`
Type: `boolean` Default: `false`

Prevents obfuscation of `require` imports. Could be helpful in some cases when for some reason runtime environment requires these imports with static strings only.
Expand Down
2 changes: 1 addition & 1 deletion test/dev/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"stringArrayThreshold": 0,
"transformObjectKeys": true,
"unicodeEscapeSequence": false,
"ignoreRequireImports": false
"ignoreImports": false
}
).getObfuscatedCode();

Expand Down