Last active
February 16, 2019 15:23
-
-
Save jonoirwinrsa/32db9f6df9ebae300c3db11c9a211b98 to your computer and use it in GitHub Desktop.
Upload Create React App sourcemaps to Bugsnag - Step 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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