-
Notifications
You must be signed in to change notification settings - Fork 16
Different ways to setup Sentry
This plugin provides several configuration options.
Obviously you can configure all the settings using plugin options in vite.config.js
, but there are another useful ways provided by sentry-cli
you can use.
In .sentryclirc
you can store your access tokens, org and other stuff in simple ini format. For details see the sentry docs about config file
Unfortunately it seems that you can't have multiple .sentryclirc's and can't place them anywhere except project root.
Sentry-cli support configuring by setting env variables, so you can simply pass sensitive data as env variable while building Environment variables
The properties file is another way to configure sentry-cli. You can have multiple *.properties files and use one or another by setting configFile
plugin option. About properties files at sentry