rails / jsbundling-rails

Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.
MIT License
831 stars 144 forks source link

Uploading sourcemaps to error tracking platform #114

Closed joker-777 closed 2 years ago

joker-777 commented 2 years ago

Hi, do you have a recommended way when and how to upload the source maps to an error tracking platform?

dhh commented 2 years ago

The source maps are generated as part of the production compile. So you can do a task on deploy that uploads those after compilation is done.