Skip to content
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): use sass-embedded and modern-compiler for sass #29999

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Feb 12, 2025

Current Behavior

Webpack and Rspack currently use sass and its Legacy API with sass-loader.
There is also no method to pass stylePreprocessorOptions other than includePaths to the loaders.

Expected Behavior

Switch to using modern-compiler api to remove deprecation warnings and improve build performance.
Allow users to choose between sass and sass-embedded for sass compiler implementation.

Expand the stylePreprocesserOptions interface to accept includePaths, sassOptions and lessOptions that will be passed to the appropriate loader.

@Coly010 Coly010 self-assigned this Feb 12, 2025
@Coly010 Coly010 requested review from a team as code owners February 12, 2025 11:35
Copy link

vercel bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Feb 20, 2025 0:00am

Copy link

nx-cloud bot commented Feb 12, 2025

View your CI Pipeline Execution ↗ for commit 5bf3f49.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 45m 45s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 15s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check --base= --he... ✅ Succeeded 7s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 4s View ↗
nx documentation ✅ Succeeded 1m 43s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-20 12:41:41 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant