I have a situation where I need to know the filename that Meteor will use when bundling up an app and sending it up to Galaxy. I’m using Rollbar for logging, and it supports using source maps to show cleaner looking errors, but it needs to know my app’s minified JS URL, which changes every time Meteor bundles up an app.
So I have a Meteor deploy script I run when deploying to Galaxy, which ends in a call to Rollbar to report the deployment:
curl https://api.rollbar.com/api/1/deploy/ \ -F access_token=$ACCESS_TOKEN \ -F environment=$ENVIRONMENT \ -F revision=$REVISION \ -F local_username=$LOCAL_USERNAME
For source map support, it wants a minified JS filename. Is there any way to pull this off?