Skip to content

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

@privetkuku

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions