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
{{ message }}
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Use in tandem with the [`style-loader`](https://github.com/webpack/style-loader)
24
24
```javascript
25
25
require('!style!css!sass!./file.scss');
26
26
```
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.*
28
28
29
29
### Apply via webpack config
30
30
@@ -139,7 +139,6 @@ module.exports = {
139
139
]
140
140
};
141
141
```
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" />```
143
142
144
143
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.
0 commit comments