Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade sass-loader

Tags:

sass

vue.js

I use vue and when I run it, there is a warning. I tried npm update without luck. How to get rid off it?

vue-cli-service serve
WARN  A new version of sass-loader is available. Please upgrade for best experience.
like image 573
Leos Literak Avatar asked Mar 14 '20 19:03

Leos Literak


People also ask

Is Sass-loader deprecated?

Is Sass-loader deprecated? Warning: LibSass and Node Sass are deprecated. While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features.

What is SAAS loader?

sass-loader is a loader for Webpack for compiling SCSS/Sass files. style-loader injects our styles into our DOM. css-loader interprets @import and @url() and resolves them. mini-css-extract-plugin extracts our CSS out of the JavaScript bundle into a separate file, essential for production builds.

What is difference between Sass and node Sass?

node-sass and Sass can be categorized as "CSS Pre-processors / Extensions" tools. node-sass and Sass are both open source tools. It seems that Sass with 12K GitHub stars and 1.93K forks on GitHub has more adoption than node-sass with 6.49K GitHub stars and 949 GitHub forks.


1 Answers

Serg already gave the answer in comment. It's worked for me. Adding the answer for others. Hope it will help others.

Just run this command

npm i sass-loader@latest
like image 71
Emtiaz Zahid Avatar answered Sep 19 '22 08:09

Emtiaz Zahid