Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Commit 9333e6d

Browse files
committed
Improve README
1 parent 1ff1959 commit 9333e6d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Use in tandem with the [`style-loader`](https://github.com/webpack/style-loader)
2424
``` javascript
2525
require('!style!css!sass!./file.scss');
2626
```
27-
*NOTE: If you encounter module errors when requiring scss files, make sure you have installed the required node module for each additional loader you use.*
27+
*NOTE: If you encounter module errors complaining about a missing `style` or `css` module, make sure you have installed all required loaders via npm.*
2828

2929
### Apply via webpack config
3030

@@ -139,7 +139,6 @@ module.exports = {
139139
]
140140
};
141141
```
142-
You will need to reference your app's scss file using ```require('/.file.scss')``` and you will need to add a link tag to your mapping CSS ```<link rel="stylesheet" href="styles.css" />```
143142

144143
If you want to edit the original Sass files inside Chrome, [there's a good blog post](https://medium.com/@toolmantim/getting-started-with-css-sourcemaps-and-in-browser-sass-editing-b4daab987fb0). Checkout [test/sourceMap](https://github.com/jtangelder/sass-loader/tree/master/test) for a running example. Make sure to serve the content with an HTTP server.
145144

0 commit comments

Comments
 (0)