Skip to content

Commit

Permalink
fix: use commonjs modules in commonjs build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnowack committed Nov 11, 2024
1 parent 94a7430 commit 8e4780c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Fixes

- options normalizeDepth and normalizeMaxBreadth are now being respected when adding a breadcrumb. ([#766](https://github.com/getsentry/sentry-capacitor/pull/766))
- CommonJS build does not contain ESM code anymore ([#773](https://github.com/getsentry/sentry-capacitor/pull/773))

## 1.0.1

Expand Down
1 change: 1 addition & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./node_modules/@sentry-internal/typescript/tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"module": "commonjs",
"outDir": "dist/build",
"lib": ["DOM", "ES2018"],
"target": "es2018",
Expand Down

0 comments on commit 8e4780c

Please sign in to comment.