Sourcemaps off by one line in Chrome, with Ruby on Rails, Webpack, and React JS Sourcemaps off by one line in Chrome, with Ruby on Rails, Webpack, and React JS google-chrome google-chrome

Sourcemaps off by one line in Chrome, with Ruby on Rails, Webpack, and React JS


There was a bug in chrome, try the latest version, also on your webpack config try using different sourcemaps on devtool try all of these to see if one works for inline source map:

  • inline-source-map

  • cheap-inline-source-map

for other different configs:

  • cheap-source-map

  • cheap-module-source-map

  • cheap-module-eval-source-map

on webpack config:

{...devtool:'source-map'...}