ShakaCode | ShakaCode Blog | Rails On Maui Blog | Rails | ReactJs | JavaScript | Webpack | Productivity |

Using SourceMaps with Node.js


#1

Adding Source Maps

  1. add package source-map-support
  2. when you run babel, use the option --source-maps
  3. when you run node, use the option -r source-map-support/register