Closed albertcito closed 3 weeks ago
Hey, you can disable the upload via the option here.
I think you cannot define commands right now in a nuxt module. So sorry, this is not possible right now.
Thank you very much. I wanted to improve my github actions. And let the upload to Bugsnag in the end of the process. But looks like it's not possible yet.
My idea was something like:
npm install
npm run lint
npm tun tsc
npm run generate
deploy actions
npm run bugsnag
👈 This will upload the files to Bugsnag in the end of all process.Best approach would be to disable the uploading of the sourcemaps in the module and write your own script to upload the sourcemaps.
The Module is only using the bugsnag tools under the hood.
on Line 111 is the function which is uploading the sourcemap. You can write your own little uploader and run it in your script.
Good Luck, if you need more help you can just comment under this issue.
If I run
npm run generate
it automatically will call:Is there a way to don't upload the files in with
npm run generate
and add a new script likenpm run bugsnag
in order to transform to source map and upload the files to Bugsnag?