Skip to content

Commit

Permalink
Update README: set publicPath for ?sourceMap to load assets
Browse files Browse the repository at this point in the history
  • Loading branch information
gryzzly committed Jun 30, 2015
1 parent 2823eb4 commit 42060ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 42060ee

Please sign in to comment.