Skip to content

Commit 49357a5

Browse files
devclaimjuimperaiKorzhavin Ivan
andauthored
fix(core): Mark package as side-effect free (#6829)
* fix(core): Mark package as side-effect free * changelog --------- Co-authored-by: Korzhavin Ivan <developer2@lochyard.com>
1 parent 7e5f93f commit 49357a5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- Forward image attachments to Spotlight instead of stripping them from the envelope ([#6818](https://github.com/getsentry/sentry-react-native/pull/6818))
1515
- Don't crash the iOS app when Sentry is initialized with an invalid DSN ([#6825](https://github.com/getsentry/sentry-react-native/pull/6825))
1616
- Populate the Hermes runtime version on JS profiles instead of sending an empty value ([#6817](https://github.com/getsentry/sentry-react-native/pull/6817))
17+
- Mark `@sentry/react-native` as side-effect free so bundlers can tree-shake unused exports ([#6829](https://github.com/getsentry/sentry-react-native/pull/6829))
1718

1819
## 8.29.0
1920

‎packages/core/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"definition": "dist/js/index.d.ts"
1818
},
1919
"main": "dist/js/index.js",
20+
"sideEffects": false,
2021
"scripts": {
2122
"build": "npx run-s build:sdk downlevel build:tools build:plugin build:replay-stubs",
2223
"build:sdk": "tsc -p tsconfig.build.json",

0 commit comments

Comments
 (0)