Skip to content

Commit a139b62

Browse files
Next.js app configuration (#3516)
Be more explicit about what to do with the configuration of the app.
1 parent 1188181 commit a139b62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/platforms/javascript/guides/nextjs/manual-setup.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ Also keep in mind, by default we disable source map upload in `dev` mode when ru
8888

8989
## Configure sentry-cli
9090

91-
Under the hood, the `SentryWebpackPlugin` uses `sentry-cli`, which can be configured in one of two ways - using a properties file, or with environment variables - both of which are discussed below. For full details, see [the CLI configuration docs](https://docs.sentry.io/product/cli/configuration/). (If you choose to combine the two approaches, the environment variables will take precedence over values set in the properties file.)
91+
The `SentryWebpackPlugin` uses `sentry-cli`, which can be configured in one of two ways - using a properties file, or with environment variables - both of which are discussed below. For full details, see [the CLI configuration docs](https://docs.sentry.io/product/cli/configuration/).
92+
93+
If you choose to combine the two approaches, the environment variables will take precedence over values set in the properties file.
94+
You can add the properties file to your VCS, excluding any sensitive data (like tokens), and add it to the environment variables.
9295

9396
### Properties File
9497

0 commit comments

Comments
 (0)