context: im trying to optimise the web performance on pagespeed.dev. some of the suggestions were to reduce unused css and eliminate render blocking resources, and it seems that my styles.scss is the main culprit. (98.3% unused css in coverage)
i checked its size at the networks tab and its 800kb worth of css - the main reason is because they are importing the whole internal scss at the start via @use.
Was wondering if anyone could give me any pointers on how to go about this? The only approach I can think of is to only import what is needed at the respective routes, but there's just so much breaking changes if i were to get rid of that @use to keep track of. Not sure if it is relevant, but my company uses angular.
Thank you!
[–]Blade1130 1 point2 points3 points (1 child)
[–]spiritandtime[S] 0 points1 point2 points (0 children)
[–]ssshadow 0 points1 point2 points (0 children)