Upload Vue source map files to sentry do not work

Package + Version

  • [x] @sentry/browser

Version:

5.1.0

Description

  project was created by Vue CLI 3, “main.js” file:

import Vue from 'vue'
import * as Sentry from '@sentry/browser'
import * as Integrations from '@sentry/integrations'
const dsn = 'http://4104209251f24d058f454cb97f4564fc@10.1.1.248:9000/4'
Sentry.init({
  dsn,
  release: '1.0.0',
  integrations: [
    new Integrations.Vue({
      Vue,
      attachProps: true
    })
  ]
})

  “vue.config.js” file:

    new SentryCliPlugin({
        release: '1.0.0',
        include: './dist',
        ignore: ['node_modules', 'vue.config.js'],
        filenameTransform: filename => '~/' + filename
     })

Hello, I know it’s been a while but did you even managed to get it to work? I’m facing the same issues.

Thanks!

Hey. I am facing the same issue as well. We have an on-premise sentry server.

My application uses hidden-source-maps devtool and we use sentry-cli to upload the source maps. I’ve tried all possible ways to get this to work.

Two things,

  1. I do not have .min.js files and have just a bundle.js file
  2. The bundle.js file does not have a sourcemappingUrl reference.

I’ve successfully managed to make a release and upload the artifacts however, the events just don’t seem to pick up from the source map uploaded.

Would be grateful if someone could walk me through what the issue might be over here. Thank you.