Summary
Add a new CLI option --m3 to CG-Bundler.
Details
- The
--m3 flag should perform all actions of the current --m2 minification (aggressive minify with whitespace replacements).
- In addition,
--m3 should also minify function names and variable names in the bundled output.
- The goal is to further reduce the output size and obfuscate code, making reverse engineering more difficult.
Motivation
Users who want maximum minification would benefit from a mode that shortens identifiers as well as whitespace.
Acceptance Criteria
For reference, see how --m2 is currently handled in the project: README.md
Summary
Add a new CLI option
--m3to CG-Bundler.Details
--m3flag should perform all actions of the current--m2minification (aggressive minify with whitespace replacements).--m3should also minify function names and variable names in the bundled output.Motivation
Users who want maximum minification would benefit from a mode that shortens identifiers as well as whitespace.
Acceptance Criteria
--m3CLI flag is recognized by the tool.--m2effects.For reference, see how
--m2is currently handled in the project: README.md