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
Copy file name to clipboardExpand all lines: README.md
+1-3
Original file line number
Diff line number
Diff line change
@@ -88,16 +88,14 @@ require("css-loader!...")
88
88
89
89
By default the css-loader minimizes the css if specified by the module system.
90
90
91
-
In some cases the structural minification is destructive to the css, so you can disable it with the `disableStructuralMinification`query parameter. `require("css-loader?disableStructuralMinification!./file.css")`
91
+
In some cases the minification is destructive to the css, so you can provide some options to it. clean-css is used for minification and you find a [list of options here](https://github.com/jakubpawlowicz/clean-css#how-to-use-clean-css-programmatically). Just provide them as query parameter: i. e. `require("css-loader?-restructuring&compatibility")` to disable restructuring and enable compatibility mode.
92
92
93
93
You can also disable or enforce minification with the `minimize` query parameter.
0 commit comments