Skip to content

Using SASS causes binary size to increase significantly #134

@A1Liu

Description

@A1Liu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions