/next-coffee-source-maps

Minimal example to reproduce bug

Primary LanguageCSS

Demonstrating that defaultLoaders.babel doesn't handle source maps from previous loader in chain.

  1. npm install
  2. npm run dev
  3. See error popup on site in localhost:3000 pointing to pages/index.coffee (1:0)
  4. Comment out defaultLoaders.babel in next.config.js and comment in {loader: 'babel-loader'}
  5. See error popup on site in localhost:3000 pointing to pages/index.coffee (6:2) (ie. the correct line in the coffee file)