Skip to content

Commit bf1c554

Browse files
authored
Merge pull request #47 from tomjelen/patch-1
Add webpack instructions to 'enabling source maps'
2 parents cc1303c + 033c050 commit bf1c554

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,16 @@ yarn add --dev source-map-support
153153
import 'source-map-support/register'
154154
```
155155

156+
If you are using webpack (most likely). Add `devtool: 'source-map'` to `webpack.config.js`:
157+
```js
158+
module.exports = {
159+
.... snip ....
160+
devtool: 'source-map',
161+
.... snip ....
162+
163+
}
164+
```
165+
156166
## Help & Community [![Slack Status](https://slack.graph.cool/badge.svg)](https://slack.graph.cool)
157167

158168
Join our [Slack community](http://slack.graph.cool/) if you run into issues or have questions. We love talking to you!

0 commit comments

Comments
 (0)