You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
status: triage neededIssue or pull request that need to be triaged and assigned to a reviewertype: bugAn issue or pull request relating to a bug in Gatsby
This issue is not a duplicate. Before opening a new issue, please search existing issues: https:/gatsbyjs/gatsby/issues
This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https:/gatsbyjs/gatsby/discussions
added the modern-compiler value for API to reuse compiler process (#1195) (cef40a8)
support webpack built-in resolver for modern and modern-compiler API (#1197) (2265b72)
Notes:
Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import/@use, for small files the build time reduction will not be significant.
but it's not possible to use that with gatsby-plugin-sass, since it uses ^10.4.1, see
status: triage neededIssue or pull request that need to be triaged and assigned to a reviewertype: bugAn issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
sass-loader
was recently updated to v14.2.0but it's not possible to use that with gatsby-plugin-sass, since it uses
^10.4.1
, seegatsby/packages/gatsby-plugin-sass/package.json
Line 12 in 9584173
resulting in
when attempting to do so.
It would be great if gatsby-plugin-sass would be enabled to utilized
sass-embedded
, gaining the (potential) performance improvements.Reproduction Link
https:/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-sass/package.json#L12
Steps to Reproduce
Attempt to use
sass-embedded
, e.g.in the
plugins
array.See build log
Expected Result
Works
Actual Result
Unknown Sass implementation "sass-embedded".
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: