18c339a94Sopenharmony_ci# Define project specific obfuscation rules here.
28c339a94Sopenharmony_ci# You can include the obfuscation configuration files in the current module's build-profile.json5.
38c339a94Sopenharmony_ci#
48c339a94Sopenharmony_ci# For more details, see
58c339a94Sopenharmony_ci#   https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/source-obfuscation-V5
68c339a94Sopenharmony_ci
78c339a94Sopenharmony_ci# Obfuscation options:
88c339a94Sopenharmony_ci# -disable-obfuscation: disable all obfuscations
98c339a94Sopenharmony_ci# -enable-property-obfuscation: obfuscate the property names
108c339a94Sopenharmony_ci# -enable-toplevel-obfuscation: obfuscate the names in the global scope
118c339a94Sopenharmony_ci# -compact: remove unnecessary blank spaces and all line feeds
128c339a94Sopenharmony_ci# -remove-log: remove all console.* statements
138c339a94Sopenharmony_ci# -print-namecache: print the name cache that contains the mapping from the old names to new names
148c339a94Sopenharmony_ci# -apply-namecache: reuse the given cache file
158c339a94Sopenharmony_ci
168c339a94Sopenharmony_ci# Keep options:
178c339a94Sopenharmony_ci# -keep-property-name: specifies property names that you want to keep
188c339a94Sopenharmony_ci# -keep-global-name: specifies names that you want to keep in the global scope
198c339a94Sopenharmony_ci
208c339a94Sopenharmony_ci-enable-property-obfuscation
218c339a94Sopenharmony_ci-enable-toplevel-obfuscation
228c339a94Sopenharmony_ci-enable-filename-obfuscation
238c339a94Sopenharmony_ci-enable-export-obfuscation