-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Package + Version
@sentry/node
Version:
4.3.0
Description
A simple import of Sentry return nothing :
import Sentry from '@sentry/node';
console.log(Sentry); // undefined
However the const Sentry = require('@sentry/node'); works fine !
[EDIT]
You need to use this syntax to import properly Sentry.
import * as Sentry from '@sentry/node';
I think it could be interesting to regroup all in one object and return it...
Here my PR to update README #1724
MartijnHols, lorensr, tylerslater-io, gms-ta-koge, bogutski and 1 more
Metadata
Metadata
Assignees
Labels
No labels