css-loader
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -104,2 +104,3 @@ /* | ||
case "block": return iterateChildren(); | ||
case "atruleb": return iterateChildren(); | ||
case "declaration": return iterateChildren(); | ||
@@ -106,0 +107,0 @@ case "value": return iterateChildren(); |
{ | ||
"name": "css-loader", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "css loader module for webpack", |
@@ -10,2 +10,4 @@ # css loader for webpack | ||
css code will be minimized if specified by the module system. | ||
`@import` will be required with this css loader. | ||
@@ -17,4 +19,20 @@ | ||
### Example config | ||
This webpack config can load css files, embed small png images as Data Urls and jpg images as files. | ||
``` javascript | ||
module.exports = { | ||
module: { | ||
loaders: { | ||
{ test: /\.css/, loader: "style-loader!css-loader" }, | ||
{ test: /\.png/, loader: "url-loader?limit=100000&minetype=image/png" }, | ||
{ test: /\.jpg/, loader: "file-loader" } | ||
} | ||
} | ||
}; | ||
``` | ||
## License | ||
MIT (http://www.opensource.org/licenses/mit-license.php) | ||
MIT (http://www.opensource.org/licenses/mit-license.php) |
Sorry, the diff of this file is not supported yet
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
5001
118
37