-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Version: 0.25.2
Angular: 9
Options:
identifierNamesGenerator: 'mangled',
stringArray: true,
rotateStringArray: true,
shuffleStringArray: true,
selfDefending: true,
Using it with a fairly decent sized angular project that uses multiple bundles I'm running into the following errors when using the "mangled" option:
Uncaught SyntaxError: Identifier 'a' has already been declared
I also tried the "dictionary" option with a supplied list of identifiersDictionary while the obfuscate command succeeds it still fails at runtime with a "Identifier 'xxx' has already been declared". However, its intermittent some builds work while other times fails.
Using "hexadecimal" works however it has a pretty big footprint. For example, a 500Kb gz gets to about 950 gz with hexadecimal.
Anyway the "mangled" option generator can be optimized?