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

Update sass-loader to 12.4.0 to support node-sass 7.0.0 #11726

Open
p-young opened this issue Dec 7, 2021 · 4 comments
Open

Update sass-loader to 12.4.0 to support node-sass 7.0.0 #11726

p-young opened this issue Dec 7, 2021 · 4 comments

Comments

@p-young
Copy link

p-young commented Dec 7, 2021

Describe the bug

Currently, an error is given when trying to use node-sass 7.0.0:
./src/index.scss (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-6-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--5-oneOf-6-3!./node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-6-4!./src/index.scss)
Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0.

node-sass is still useful because sass (dart-sass) is slower

sass-loader was just updated to 12.4.0 today to support node-sass 7.0.0 (also a recent update).

It would be nice to have this! Thanks

@stale
Copy link

stale bot commented Jan 8, 2022

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

@stale stale bot added the stale label Jan 8, 2022
@alkismavridis
Copy link

Also affected

@stale stale bot removed the stale label Feb 11, 2022
@JustFly1984
Copy link

node-sass@7 is deprecated and has security vulnerabilities. recommended to switch to npm sass which is currently maintained.

@Li1506
Copy link

Li1506 commented Mar 22, 2023

sass-loader now is on version 13.x and depends on node-sass v8, the version removes deprecated request dependency.

will be good to upgrade sass-loader v13.

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

No branches or pull requests

4 participants