From b2419488f229a48f1f7c62d5d358ae9cc01d852e Mon Sep 17 00:00:00 2001 From: Tom Dracz Date: Tue, 5 Mar 2024 07:11:10 +0000 Subject: [PATCH] Update Sass docs (#425) --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 485198fa2..34fe37456 100644 --- a/README.md +++ b/README.md @@ -703,7 +703,26 @@ yarn add postcss-preset-env postcss-flexbugs-fixes #### Sass ```bash -yarn add sass sass-loader +yarn add sass-loader +``` + +You will also need to install [Dart Sass](https://github.com/sass/dart-sass), [Node Sass](https://github.com/sass/node-sass) or [Sass Embedded](https://github.com/sass/embedded-host-node) to pick the implementation to use. sass-loader will automatically pick an implementation based on installed packages. + +Please refer to [sass-loader documentation](https://www.npmjs.com/package/sass-loader) and individual packages repos for more information on all the options. + +##### Dart Sass +```bash +yarn add sass +``` + +##### Node Sass +```bash +yarn add node-sass +``` + +##### Sass Embedded +```bash +yarn add sass-embedded ``` #### Less