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.
I'm following the tutorial and, when I ran
npm run build
after addingdevtool: '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.