survivejs / react-book

From apprentice to master (CC BY-NC-ND)
https://survivejs.com/react/introduction/
2.02k stars 366 forks source link

Developing with Webpack - webpack -d is needed to enable sourcemap #376

Closed queirozfcom closed 8 years ago

queirozfcom commented 8 years ago

I'm following the tutorial and, when I ran npm run build after adding devtool: 'eval-source-map',to my config as instructed, no source map was generated.

I googled a little bit and arrived at this so answer which suggested that I used webpack -d instead, and it worked.

bebraw commented 8 years ago

Thanks again!