ikenfin / vite-plugin-sentry

Vite plugin acting as an interface to SentryCLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set `dist`

OrbisK opened this issue · comments

image

Currently I am missing the ability to set the dist: https://docs.sentry.io/product/cli/releases/#sentry-cli-sourcemaps (see option --dist)

@OrbisK hi! I will look to add this option to plugin asap!

Seems you can use dist already (place it at sourceMaps config object).

I think sentry team accidentialy placed dist option to the top level, while this is source map uploader option (https://github.com/getsentry/sentry-cli/blob/master/js/releases/options/uploadSourcemaps.js#L10).

I have published patched types in git repo, also will make PR to sentry-cli

Just for reference: getsentry/sentry-cli#1269

Sentry/cli released new version fixing the issue, i've just published v1.1.1 that uses updated types👍