Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially revert "BREAKING(gatsby-plugin-sass): sass-loader to v10 & …" #28666

Merged
merged 1 commit into from
Dec 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/how-to/styling/bulma.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This guide assumes that you have a Gatsby project set up. If you need to set up

For starters, let's install all the required packages we're going to need.

`yarn add bulma sass gatsby-plugin-sass`
`yarn add bulma node-sass gatsby-plugin-sass`

Then, add the `gatsby-plugin-sass` in to `gatsby-config.js`.

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/how-to/styling/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Sass will compile `.sass` and `.scss` files to `.css` files for you, so you can

This guide assumes that you have a Gatsby project set up. If you need to set up a project, head to the [**Quick Start guide**](/docs/quick-start/), then come back.

1. Install the Gatsby plugin [**gatsby-plugin-sass**](/packages/gatsby-plugin-sass/) and `sass`, a required peer dependency as of v3.0.0.
1. Install the Gatsby plugin [**gatsby-plugin-sass**](/packages/gatsby-plugin-sass/) and `node-sass`, a required peer dependency as of v2.0.0.

`npm install sass gatsby-plugin-sass`
`npm install node-sass gatsby-plugin-sass`

2. Include the plugin in your `gatsby-config.js` file.

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/how-to/styling/tailwind-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ See the [Twin + Gatsby + Emotion installation guide](https://github.com/ben-roge

#### Option #3: SCSS

1. Install the Gatsby SCSS plugin [**gatsby-plugin-sass**](/packages/gatsby-plugin-sass) and `sass`.
1. Install the Gatsby SCSS plugin [**gatsby-plugin-sass**](/packages/gatsby-plugin-sass) and `node-sass`.

```shell
npm install sass gatsby-plugin-sass
npm install node-sass gatsby-plugin-sass
```

2. To be able to use Tailwind classes in your SCSS files, add the `tailwindcss` package into the `postCssPlugins` parameter in your `gatsby-config.js`.
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/recipes/styling-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ Sass will compile `.scss` and `.sass` files to `.css` files for you, so you can

### Directions

1. Install the Gatsby plugin [gatsby-plugin-sass](/plugins/gatsby-plugin-sass/) and `sass`.
1. Install the Gatsby plugin [gatsby-plugin-sass](/plugins/gatsby-plugin-sass/) and `node-sass`.

`npm install sass gatsby-plugin-sass`
`npm install node-sass gatsby-plugin-sass`

2. Include the plugin in your `gatsby-config.js` file.

Expand Down