-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: cms-adapters:style extractor takes too much time #2272
Comments
Thank you for the report. Is it a new issue you faced after an update of the Otter library? Can it be due to an update or your Sass architecture on your side? Or is it an issue you have since long time? |
Maybe to avoid building each time all the Sass files we could store somewhere the result or something to rebuild only the updated Sass files? |
Thanks @OxyFlax , this is indeed a workaround to rely on Nx Cache or Lerna Change and trigger the extraction only when really needed. |
Package name
extractors
Package version
11.0.4
Reproduction steps
Create a library with many components having stylings
Run
yarn run cms-adapters
at rootNotice the time it takes for
nx run @mypackage:"cms-adapters:style"
Current result
In our case, this
cms-adapters:style
step is taking ~7m30s for a package containing around 100 componentsExpected result
Can we optimize the process to reduce the processing time? As globally this step has a high impact on our current build statistics.
Additional comments
The text was updated successfully, but these errors were encountered: