Update README: set publicPath for ?sourceMap to load assets

fixes #55
master
Misha Reyzlin 2015-06-30 22:25:43 +02:00
parent 2823eb4a5e
commit 42060ee921
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