Source maps is enabled by default when using rails-webpacker. The rask tasks open the manifest file, post the source map to honeybadger and remove the source map file and remove it from the manifest.
yarn add honeybadger-js
in app/javascript/packs/application.js require honeybadger
var Honeybadger = require('honeybadger-js');