Closed andysellick closed 4 years ago
Update calculators to import the Javascript for only the components it is using, instead of all components, as documented here.
Note: despite recent changes to the suggested sass feature, the suggested sass for calculators remains unchanged.
JS before: 471 KB
JS after: 216 KB
Trello card: https://trello.com/c/GWttlBxs/228-upgrade-applications-to-use-individual-component-sass
Update calculators to import the Javascript for only the components it is using, instead of all components, as documented here.
Note: despite recent changes to the suggested sass feature, the suggested sass for calculators remains unchanged.
Filesize comparison
JS before: 471 KB
JS after: 216 KB
Trello card: https://trello.com/c/GWttlBxs/228-upgrade-applications-to-use-individual-component-sass