getsentry / sentry-webpack-plugin

Repo moved to https://github.com/getsentry/sentry-javascript-bundler-plugins. Please open any issues/PRs there.
MIT License
662 stars 116 forks source link

Doc & TS type of option 'release' mismatches #446

Closed jer-sen closed 1 year ago

jer-sen commented 1 year ago

Environment

@sentry/webpack-plugin@2.2.0 @sentry/bundler-plugin-core@2.2.0

Steps to Reproduce

release should be a string according to the doc https://github.com/getsentry/sentry-webpack-plugin but its TS type from @sentry/bundler-plugin-core is an object (with many fields such as name, inject...)

Expected Result

One truth

Actual Result

Ambiguity