We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@sentry/typescript
importHelpers
1 parent be5e875 commit 9fae484Copy full SHA for 9fae484
tsconfig.json
@@ -7,5 +7,12 @@
7
"declarationMap": false,
8
"skipLibCheck": true,
9
"types": ["node"],
10
+ // Setting this to `false` causes TS to include the full code for each helper it injects, which allows us to remove
11
+ // `tslib` as a dependency, with the advantage that it means we don't have to worry about `tslib` version
12
+ // compatibility with our version of TS. Since we now use Sucrase and Rollup for our main builds, this only affects
13
+ // our ES5 bundles (which would pull in the helper code in any case, even if specified in an import) and tests
14
+ // (where the built files last only long enough to run tests againt), so it's safe to include it here in the root
15
+ // tsconfig.
16
+ "importHelpers": false,
17
}
18
0 commit comments