Merge pull request #68 from gryzzly/patch-1

Update README: set publicPath for ?sourceMap to load assets
master
Tobias Koppers 2015-09-01 08:53:55 +02:00
commit c9a35c204a
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ 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