identifiersPrefix option

This commit is contained in:
sanex3339
2018-01-18 01:36:17 +03:00
parent 4f4f95b73f
commit d4b801e71e
22 changed files with 313 additions and 161 deletions
+3 -1
View File
@@ -16,7 +16,9 @@ import { NO_ADDITIONAL_NODES_PRESET } from '../../src/options/presets/NoCustomNo
`,
{
...NO_ADDITIONAL_NODES_PRESET,
compact: false
compact: false,
identifiersPrefix: 'foo',
identifierNamesGenerator: 'mangled'
}
).getObfuscatedCode();