Skip to content

Commit c55003f

Browse files
authored
chore(build): Remove unnecessary esModuleInterop settings (#4991)
This removes the `esModuleInterop` setting in the following places: - `@sentry/gatsby`, where it's only being used for `@sentry/tracing`, which is an ES module, making the injected helper a pass-through[1]. - `@sentry/vue` and `@sentry/wasm`, where it isn't being used at all (i.e., none of the helpers show up in the built code, meaning there's nothing in the source code that requires (no pun intended!) them). Doing this saves us having to port more config than needed to the new build process. [1] https://github.com/microsoft/tslib/blob/a7129c7bd500ce378ec19234247f3d0b1635e89d/tslib.js#L263
1 parent d619372 commit c55003f

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

packages/gatsby/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
"compilerOptions": {
77
// package-specific options
8-
"esModuleInterop": true,
98
"jsx": "react"
109
}
1110
}

packages/vue/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55

66
"compilerOptions": {
77
// package-specific options
8-
"esModuleInterop": true,
98
}
109
}

packages/wasm/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55

66
"compilerOptions": {
77
// package-specific options
8-
"esModuleInterop": true,
98
}
109
}

0 commit comments

Comments
 (0)