You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
<p>Looking for the webpack 1 loader? Check out the <ahref="https://github.com/webpack-contrib/sass-loader/tree/archive/webpack-1">archive/webpack-1 branch</a>.</p>
The sass-loader requires [node-sass](https://github.com/sass/node-sass) and [webpack](https://github.comwebpack)
29
29
as [`peerDependency`](https://docs.npmjs.com/files/package.json#peerdependencies). Thus you are able to control the versions accurately.
30
30
31
-
## Examples
31
+
<h2align="center">Examples</h2>
32
32
33
33
Chain the sass-loader with the [css-loader](https://github.com/webpack-contrib/css-loader) and the [style-loader](https://github.com/webpack-contrib/style-loader) to immediately apply all styles to the DOM.
34
34
@@ -79,7 +79,7 @@ See [node-sass](https://github.com/andrew/node-sass) for all available Sass opti
79
79
80
80
### In production
81
81
82
-
Usually, it's recommended to extract the stylesheets into a dedicated file in production using the [ExtractTextPlugin](https://github.com/webpack-contrib/extract-text-webpack-plugin). This way your styles are not dependent on JavaScript:
82
+
Usually, it's recommended to extract the style sheets into a dedicated file in production using the [ExtractTextPlugin](https://github.com/webpack-contrib/extract-text-webpack-plugin). This way your styles are not dependent on JavaScript:
@@ -186,9 +186,9 @@ If you want to prepend Sass code before the actual entry file, you can set the `
186
186
}
187
187
```
188
188
189
-
***Please note:** Since you're injecting code, this will break the source mappings in your entry file. Often there's a simpler solution than this, like multiple Sass entry files.**
189
+
**Please note:** Since you're injecting code, this will break the source mappings in your entry file. Often there's a simpler solution than this, like multiple Sass entry files.
190
190
191
-
## Maintainers
191
+
<h2align="center">Maintainers</h2>
192
192
193
193
<table>
194
194
<tbody>
@@ -213,7 +213,7 @@ If you want to prepend Sass code before the actual entry file, you can set the `
0 commit comments