-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat(webpack): set default sassImplementation to sass-embedded #30580
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
View your CI Pipeline Execution ↗ for commit 44c4cdc.
☁️ Nx Cloud last updated this comment at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to call this out as a breaking change. Even though they are comparable functionality-wise, sass-embedded
only works in selected platforms (the most used ones, but it could still break some setups).
@@ -161,7 +161,6 @@ export interface NxAppRspackPluginOptions { | |||
* Add an additional chunk for the rspack runtime. Defaults to `true` when `target === 'web'`. | |||
*/ | |||
runtimeChunk?: boolean; | |||
// TODO(v21): Make Sass Embedded the default in version 21. | |||
// TODO(v22): Remove in version 22. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the plan is to remove this option for v22, we should add a deprecation message.
@@ -221,7 +221,6 @@ export interface NxAppWebpackPluginOptions { | |||
* Use tsconfig-paths-webpack-plugin to resolve modules using paths in the tsconfig file. | |||
*/ | |||
useTsconfigPaths?: boolean; | |||
// TODO(v21): Make Sass Embedded the default in version 21. | |||
// TODO(v22): Remove in version 22. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here about the deprecation notice.
Current Behavior
The
sassImplementation
option for Webpack and Rspack is set tosass
by default.sass-embedded
offers a faster alternative.Expected Behavior
Switch the default
sassImplementation
option tosass-embedded
.