Skip to content

Commit 8f015cd

Browse files
committed
Update README
1 parent fff1c68 commit 8f015cd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ Starting with `1.0.0`, the sass-loader requires [node-sass](https://github.com/s
88

99
---
1010

11-
## Please note
12-
13-
sass-loader `1.0.0` requires a non-stable node-sass version as `peerDependency`. If you encounter any problems such as [`Abort trap`](https://github.com/jtangelder/sass-loader/issues/65) or [`Assertion failed`](https://github.com/sass/node-sass/issues/713) please consider using sass-loader `0.4.2`.
14-
15-
---
16-
1711
## Usage
1812

1913
[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
@@ -101,6 +95,10 @@ module.exports = {
10195
};
10296
```
10397

98+
### Importing across language styles
99+
100+
Importing a file written in the other language style, like importing a `.sass` file from a `.scss` file, requires the file extension to be set explicitly. If no extension is specified, the extension is inherited from the importing file.
101+
104102
## Source maps
105103

106104
Because of browser limitations, source maps are only available in conjunction with the [extract-text-webpack-plugin](https://github.com/webpack/extract-text-webpack-plugin). Use that plugin to extract the CSS code from the generated JS bundle into a separate file (which even improves the perceived performance because JS and CSS are downloaded in parallel).

0 commit comments

Comments
 (0)