Vue CLI CSS pre-processor option: dart-sass VS node-sass?

后端 未结 3 1244
北海茫月
北海茫月 2021-01-30 15:09

When creating a new project with CLI (v3.7.0), there is an option to choose between dart-sass or node-sass compiler.

How do these compare to eac

3条回答
  •  孤街浪徒
    2021-01-30 16:04

    24/01/2021

    As it's written in official node-sass github doc, node-sass is 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. Projects that still use it should move onto Dart Sass.

    So I guess it would be better to chose dart sass if you plan long term or to stay up to date.

提交回复
热议问题