This commit creates the options available for JavaScript minification in
production. The options here have been tested, and reduce the bhima script
size by more than 50%.
Additionally, the order of IIFE has been change so that a single IIFE
wraps the entire bhima script, rather than multiple created for each
bhima javascript file. This should produce smaller file sizes and
slight performance improvements.
NOTE: The minification option is still turned off in this commit. It should be turned on in production.
This commit creates the options available for JavaScript minification in production. The options here have been tested, and reduce the bhima script size by more than 50%.
Additionally, the order of IIFE has been change so that a single IIFE wraps the entire bhima script, rather than multiple created for each bhima javascript file. This should produce smaller file sizes and slight performance improvements.
NOTE: The minification option is still turned off in this commit. It should be turned on in production.