This repository was archived by the owner on Nov 20, 2023. It is now read-only.
  
  
  
  
  
Description
Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which SDK and version?
- @sentry/browser 6.13.3
- @sentry/webpack-plugin 1.18.2
Steps to Reproduce
- Update to v1.18.2
- Create a new SentryPlugin without vscRemote
- A type error will be show Property 'vscRemote' is missing in type '{ release: string; include: string; }' but required in type 'SentryCliPluginOptions'
Expected Result
vscRemote should be optional as shown in the types
/**
 * Version control system remote name.
 * This value will update `SENTRY_VCS_REMOTE` env variable.
 */
vcsRemote?: string;
Actual Result
vscRemote is required
Note
The problem is caused by sentry-cli v1.70.0, and is corrected in version sentry-cli v1.70.1, to fix the problem it should be enough to update sentry-cli for sentry-webpack-plugin