Search code examples
node-sassexpress-generator

which one to use between node-sass vs node-sass-middleware?


express --ejs --css sass --git

above command install node-sass-middleware npm automatically.

since I found that a lot of people use node-sass npm, I wonder what the differences are between those two.

I have searched some, and many articles seems to recommmend using node-sass npm.

so why then express generator supports node-sass-middleware npm?

any advice might be helpful.


Solution

  • NodeSassMiddleware basically includes the node-sass package automatically when you will install it as package, so use node-sass-middleware package.