Skip to content

Commit

Permalink
Merge pull request #151 from kennyjacob/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
SpaceK33z authored Nov 17, 2016
2 parents 6751466 + 981814a commit 102c74b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Adds CSS to the DOM by injecting a `<style>` tag

## Install

```
npm install style-loader --save-dev
```

## Usage

[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)
Expand Down Expand Up @@ -74,12 +80,6 @@ So the recommended configuration for webpack is:

**Note** about source maps support and assets referenced with `url`: when style loader is used with ?sourceMap option, the CSS modules will be generated as `Blob`s, so relative paths don't work (they would be relative to `chrome:blob` or `chrome:devtools`). In order for assets to maintain correct paths setting `output.publicPath` property of webpack configuration must be set, so that absolute paths are generated.

## Install

```
npm install style-loader
```

## License

MIT (http://www.opensource.org/licenses/mit-license.php)

0 comments on commit 102c74b

Please sign in to comment.