css-loader
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -13,4 +13,6 @@ /* | ||
var root = query.root; | ||
var forceMinimize = query.minimize; | ||
var minimize = typeof forceMinimize !== "undefined" ? !!forceMinimize : (this && this.minimize); | ||
var tree = csso.parse(content, "stylesheet"); | ||
if(tree && this && this.minimize) { | ||
if(tree && minimize) { | ||
tree = csso.compress(tree, query.disableStructuralMinification); | ||
@@ -17,0 +19,0 @@ tree = csso.cleanInfo(tree); |
{ | ||
"name": "css-loader", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "css loader module for webpack", |
@@ -67,4 +67,10 @@ # css loader for webpack | ||
You can also disable or enforce minification with the `minimize` query parameter. | ||
`require("css-loader?minimize!./file.css")` (enforced) | ||
`require("css-loader?-minimize!./file.css")` (disabled) | ||
## License | ||
MIT (http://www.opensource.org/licenses/mit-license.php) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7404
134
76