Skip to content

Deprecation notice conosle message in the project created with automatic setup for vite #779

Description

@privetkuku

Environment

"@sentry/react": "^9.42.1",
"@sentry/vite-plugin": "^4.0.1",

Steps to Reproduce

  1. Went here - https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/vite/
  2. Followed automatic setup

Expected Result

No warnings in the console

Actual Result

I see a deprecation warning in the console, ⚠ DEPRECATION NOTICE: This functionality will be removed in a future version of sentry-cli. Use the sourcemaps command instead..

My vite config:

...
    build: {
      sourcemap: true,
    },
      sentryVitePlugin({
        authToken: env.SENTRY_AUTH_TOKEN,
        org: 'sentry',
        project: 'fe-app',
        telemetry: false,
        url: 'https://url.com',
        sourcemaps: {
          filesToDeleteAfterUpload: '**/*.js.map',
        },
      }),
...

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions