Skip to content

Instantly share code, notes, and snippets.

@jonoirwinrsa
Last active February 16, 2019 15:23
Show Gist options
  • Save jonoirwinrsa/32db9f6df9ebae300c3db11c9a211b98 to your computer and use it in GitHub Desktop.
Save jonoirwinrsa/32db9f6df9ebae300c3db11c9a211b98 to your computer and use it in GitHub Desktop.
Upload Create React App sourcemaps to Bugsnag - Step 1
const glob = require('glob');
/**
* Find all of the map files in ./build
*/
function findSourceMaps(callback) {
return glob('build/**/*/*.map', callback);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment