Change node-sass
to sass
because node-sass
is deprecated
#10771
Labels
node-sass
to sass
because node-sass
is deprecated
#10771
Is your proposal related to a problem?
I build a small demo based on CRA, yet I encountered a problem where some sass features can't work, like
@use "sass.string"
and some other built-in modules.At first I am using
node-sass
recommended by CRA documentation.After trying different solutions and reviewing github issues, I found a very efficient way.
配合CRA搭建demo看sass官网文档时发现有些特性不支持,把create-react-app官方文档推荐的
node-sass
换成sass
就ok了。Describe the solution you'd like
If you want use new features of sass, please remove
node-sass
module in your CRA project and usesass
instead.Additional context
Hope CRA documentation would change it or at least append a tip.
The text was updated successfully, but these errors were encountered: