Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(web): Add fixed version of Sentry vite plugin #26

Closed
wants to merge 2 commits into from

Conversation

lforst
Copy link
Contributor

@lforst lforst commented May 22, 2023

Comment on lines +5 to +8
SENTRY_DSN: import.meta.env.VITE_SENTRY_DSN,
API_SERVER: import.meta.env.VITE_API_SERVER || "http://localhost:4000",

VERSION: import.meta.env.VITE_VERSION || "",
VERSION: import.meta.env.VITE_VERSION,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These don't need a fallback value. It's actually better if they're undefined instead. You don't want an empty string as a release value in Sentry.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

psure i did this to test local docker builds but will run this and double check everything

@dcramer
Copy link
Owner

dcramer commented May 22, 2023

fyi i merged this w/ rebase (github didnt seem to figure it out)

@dcramer dcramer closed this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@sentry/vite-plugin conflicts with vite-plugin-pwa
2 participants