Skip to content

Compiling vendor SASS is taking so looong #950

@Cartman34

Description

@Cartman34

Hello,

I am using webpack encore with bootstrap, jQuery and a vendor template theme.
This theme brings me configurable SASS files so I copied it in a assets/vendor folder.

On my dev environment, I run yarn watch, but with this theme sass files, It's taking 30-40 seconds.
But nothing changed in this theme sass files, I will rarely change it because I must not edit it until an update and variables are set, for long too.
So now, how could I optimize it ? How to not compile it each time ?
Should I separate theme files in another webpack "entry" ?

Any help will be appreciated :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions