You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing SASS files is done by importing the SASS compiler via URL; unfortunately, this results in the SASS compiler being fully bundled into the final output of the app. I think this was probably the cause of the ~12MB bundle for the PoGo app, and also why the compiler took so long to run.
Removing all the SASS from the PoGo app on my personal repository resulted in the bundle dropping from 12mb to 385kb, and compile times dropping from 700ms to 53ms.
The text was updated successfully, but these errors were encountered:
A1Liu
changed the title
Using SASS causes binary size to bloat significantly
Using SASS causes binary size to increase significantly
Apr 10, 2023
Importing SASS files is done by importing the SASS compiler via URL; unfortunately, this results in the SASS compiler being fully bundled into the final output of the app. I think this was probably the cause of the ~12MB bundle for the PoGo app, and also why the compiler took so long to run.
Removing all the SASS from the PoGo app on my personal repository resulted in the bundle dropping from 12mb to 385kb, and compile times dropping from 700ms to 53ms.
The text was updated successfully, but these errors were encountered: