Skip to content

Commit 9df4467

Browse files
authored
Update README.md
Fixes #227
1 parent 9497d74 commit 9df4467

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ The query parameter `importLoaders` allow to configure which loaders should be a
204204
Examples:
205205

206206
``` js
207-
require("style-loader!css-loader?importLoaders=1!autoprefixer-loader!...")
207+
require("style-loader!css-loader?importLoaders=1!postcss-loader!...")
208208
// => imported resources are handled this way:
209-
require("css-loader?importLoaders=1!autoprefixer-loader!...")
209+
require("css-loader?importLoaders=1!postcss-loader!...")
210210

211211
require("style-loader!css-loader!stylus-loader!...")
212212
// => imported resources are handled this way:
@@ -219,7 +219,7 @@ This may change in the future, when the module system (i. e. webpack) supports l
219219

220220
By default the css-loader minimizes the css if specified by the module system.
221221

222-
In some cases the minification is destructive to the css, so you can provide some options to it. cssnano is used for minification and you find a [list of options here](http://cssnano.co/options/). Just provide them as query parameter: i. e. `require("css-loader?-autoprefixer")` to disable removing of deprecated vendor prefixes.
222+
In some cases the minification is destructive to the css, so you can provide some options to it. cssnano is used for minification and you find a [list of options here](http://cssnano.co/options/). Just provide them as query parameter: i. e. `require("css-loader?-colormin")` to disable making color values as small as possible.
223223

224224
You can also disable or enforce minification with the `minimize` query parameter.
225225

0 commit comments

Comments
 (0)