Skip to content

Make use of sass-embedded possible #23076

Closed as not planned
Closed as not planned
@aersam

Description

@aersam

Which @angular/* package(s) are relevant/related to the feature request?

compiler

Description

Hi there
Currently angular uses the sass package for compiling sass, which is of course fine. However it's not fast to compile sass this way, it's one of the pain parts we have in larger projects where we use things like bootstrap sass

Proposed solution

Sass-embedded is still experimental but offers the same API as sass and it's way faster. I had a project where build time went down by minutes by precompiling the sass and use the generated css in angular

I propose to add a feature flag to use sass-embedded

Alternatives considered

As mentioned I can preprocess my Sass outside Angular using sass-embedded, but it's not easy (had to create a fork of tilde-sass)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions