• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Define project specific obfuscation rules here.
2# You can include the obfuscation configuration files in the current module's build-profile.json5.
3#
4
5# Obfuscation options:
6# -disable-obfuscation: disable all obfuscations
7# -enable-property-obfuscation: obfuscate the property names
8# -enable-toplevel-obfuscation: obfuscate the names in the global scope
9# -compact: remove unnecessary blank spaces and all line feeds
10# -remove-log: remove all console.* statements
11# -print-namecache: print the name cache that contains the mapping from the old names to new names
12# -apply-namecache: reuse the given cache file
13
14# Keep options:
15# -keep-property-name: specifies property names that you want to keep
16# -keep-global-name: specifies names that you want to keep in the global scope
17
18-enable-property-obfuscation
19-enable-toplevel-obfuscation
20-enable-filename-obfuscation
21-enable-export-obfuscation