Skip to content

Commit de8dcef

Browse files
authored
chore(docs): Update @sentry/gatsby README (#3384)
1 parent fbdc875 commit de8dcef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/gatsby/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
# Official Sentry SDK for GatsbyJS
99

10-
Register the package as a plugin in `gastby-config.js`:
10+
Register the package as a plugin in `gatsby-config.js`:
1111

1212
```javascript
13-
{
13+
module.exports = {
1414
// ...
1515
plugins: [
1616
{
@@ -43,7 +43,7 @@ To automatically capture the `release` value on Vercel you will need to register
4343
To enable tracing, supply either `tracesSampleRate` or `tracesSampler` to the options and make sure you have installed the `@sentry/tracing` package. This will also turn on the `BrowserTracing` integration for automatic instrumentation of pageloads and navigations.
4444

4545
```javascript
46-
{
46+
module.exports = {
4747
// ...
4848
plugins: [
4949
{
@@ -84,7 +84,7 @@ To enable tracing, supply either `tracesSampleRate` or `tracesSampler` to the op
8484
If you want to supply options to the `BrowserTracing` integration, use the `browserTracingOptions` parameter.
8585

8686
```javascript
87-
{
87+
module.exports = {
8888
// ...
8989
plugins: [
9090
{

0 commit comments

Comments
 (0)