Skip to content

Commit db01033

Browse files
notDashmichael-ciniawsky
authored andcommittedFeb 28, 2018
docs(README): rephrase resolve-url-loader note (#516)
1 parent 88b56d5 commit db01033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Since Sass/[libsass](https://github.com/sass/libsass) does not provide [url rewr
134134

135135
More likely you will be disrupted by this second issue. It is natural to expect relative references to be resolved against the `.scss` file in which they are specified (like in regular `.css` files). Thankfully there are a two solutions to this problem:
136136

137-
- Add the missing url rewriting using the [resolve-url-loader](https://github.com/bholloway/resolve-url-loader). Place it directly after the sass-loader in the loader chain.
137+
- Add the missing url rewriting using the [resolve-url-loader](https://github.com/bholloway/resolve-url-loader). Place it before the sass-loader in the loader chain.
138138
- Library authors usually provide a variable to modify the asset path. [bootstrap-sass](https://github.com/twbs/bootstrap-sass) for example has an `$icon-font-path`. Check out [this working bootstrap example](https://github.com/webpack-contrib/sass-loader/tree/master/test/bootstrapSass).
139139

140140
### Extracting style sheets

0 commit comments

Comments
 (0)
Please sign in to comment.