style-loader
Advanced tools
Comparing version 0.5.1 to 0.5.2
{ | ||
"name": "style-loader", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "style loader module for webpack", |
@@ -10,8 +10,13 @@ # style loader for webpack | ||
Does nothing in node.js. | ||
It's recommended to combine it with the [`css`](https://github.com/webpack/css-loader) loader: `require("style!css!./file.css")`. | ||
It also possible to add a URL instead of a css string: | ||
``` javascript | ||
require("style/url!file!./file.css"); | ||
// => add a <link rel="stlyesheet"> to file.css to document | ||
``` | ||
## License | ||
MIT (http://www.opensource.org/licenses/mit-license.php) |
2976
21