Skip to content

upload Vue source map files to sentry do not work. #2032

@descire

Description

@descire

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

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
     })

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions