From 191d8788847b64aa51d3856a1eb890e5c2126558 Mon Sep 17 00:00:00 2001 From: Max Nowack Date: Thu, 7 Nov 2024 16:48:40 +0100 Subject: [PATCH] fix: use commonjs modules in commonjs build --- tsconfig.build.json | 1 + 1 file changed, 1 insertion(+) 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",