Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Set esModuleInterop to true

Blue Mouse1c53da374620
diff --git a/backend/apps/production/tsconfig.app.json b/backend/apps/production/tsconfig.app.json
index 2997fae6f..3818f9d2d 100644
--- a/backend/apps/production/tsconfig.app.json
+++ b/backend/apps/production/tsconfig.app.json
@@ -4,6 +4,7 @@
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
+ "esModuleInterop": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",
diff --git a/backend/apps/selfhosted/tsconfig.app.json b/backend/apps/selfhosted/tsconfig.app.json
index d8e88dc36..3cef421cd 100644
--- a/backend/apps/selfhosted/tsconfig.app.json
+++ b/backend/apps/selfhosted/tsconfig.app.json
@@ -4,6 +4,7 @@
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
+ "esModuleInterop": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",
diff --git a/backend/tsconfig.json b/backend/tsconfig.json
index a58ad45b9..ba8edce4b 100644
--- a/backend/tsconfig.json
+++ b/backend/tsconfig.json
@@ -4,6 +4,7 @@
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
+ "esModuleInterop": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",