Created by: pvdlg
All the private attribute (variables or function) in Bootstrap JS modules starts with _
so we can easily configure Uglify to mandle them and produce a small minified JS file.
Minified size | Minified gain | Minified + zip size | Minified + zip gain | |
---|---|---|---|---|
Before | 46,653b | - | 12,648b | - |
After | 41,059b | 11.9% | 12,063b | 4.8% |
In addition, this size reductions cumulate with #21711