diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f69abe8..e67ac8da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/tsconfig.build.json b/tsconfig.build.json index ebf0b72a..fbec7ef2 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,6 +2,7 @@ "extends": "./node_modules/@sentry-internal/typescript/tsconfig.json", "compilerOptions": { "baseUrl": ".", + "module": "commonjs", "outDir": "dist/build", "lib": ["DOM", "ES2018"], "target": "es2018",