Skip to content

Commit c8e406c

Browse files
committed
Add sourceMap=inline docs
1 parent 1b2f67a commit c8e406c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@ If there is the need, this will let you access to webpack loaders API.
7575

7676
[webpack loader-context]: http://webpack.github.io/docs/loaders.html#loader-context
7777

78+
Loader accepts `sourceMap=inline` to put source maps
79+
into CSS annotation comment:
80+
81+
```js
82+
module.exports = {
83+
module: {
84+
loader: "style-loader!css-loader!postcss-loader?sourceMap=inline"
85+
}
86+
}
87+
```
88+
7889
## Plugins Packs
7990

8091
If you want to process different styles by different PostCSS plugins you can

0 commit comments

Comments
 (0)