Skip to content

Commit c991c90

Browse files
fix(metro): Avoid importing tslib in Sentry Metro Plugin (#4573)
1 parent bab7feb commit c991c90

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
- Sentry Module Collection Script Fails with Spaces in Node Path on iOS ([#4559](https://github.com/getsentry/sentry-react-native/pull/4559))
3535
- Various crashes and issues of Session Replay on Android. See the Android SDK version bump for more details. ([#4529](https://github.com/getsentry/sentry-react-native/pull/4529))
3636
- `Sentry.setUser(null)` doesn't crash on iOS with RN 0.77.1 ([#4567](https://github.com/getsentry/sentry-react-native/pull/4567))
37+
- Avoid importing `tslib` in Sentry Metro Plugin ([#4573](https://github.com/getsentry/sentry-react-native/pull/4573))
3738

3839
### Dependencies
3940

packages/core/tsconfig.build.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"skipLibCheck": true,
2828
"allowSyntheticDefaultImports": true,
2929
"strictBindCallApply": true,
30-
"strictNullChecks": false
30+
"strictNullChecks": false,
31+
"importHelpers": false
3132
}
3233
}

packages/core/tsconfig.build.tools.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"target": "es6",
1515
"module": "CommonJS",
1616
"skipLibCheck": true,
17-
"allowSyntheticDefaultImports": true
17+
"allowSyntheticDefaultImports": true,
18+
"importHelpers": false
1819
}
1920
}

0 commit comments

Comments
 (0)