Skip to content

Commit

Permalink
ref(node): Show CJS and ESM import versions in dedicated SDK import c…
Browse files Browse the repository at this point in the history
…ode snippet (#10816)
  • Loading branch information
Lms24 authored Jul 24, 2024
1 parent 36ac13b commit e86b3e0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
```javascript
```javascript {tabTitle: CommonJS}
const Sentry = require("@sentry/node");
```

```javascript {tabTitle: ESM}
import * as Sentry from "@sentry/node";
```

0 comments on commit e86b3e0

Please sign in to comment.