diff --git a/lib/expose.cjs b/lib/expose.cjs
index c2d3c5d22e6002b7abe500722b949472257c4564..882b46625fe58ff4614b73192156200427f359ac 100644
--- a/lib/expose.cjs
+++ b/lib/expose.cjs
@@ -2,9 +2,11 @@
 
 /**
  * returns renovates package.json
- * @type {import('./types').RenovatePackageJson}
  */
-const pkg = (() => require('../package.json'))();
+const path = (() => require('path'))();
+// need to use dynamic strings so that typescript does not include package.json in dist folder after compilation
+const filePath = path.join(__dirname, '..', 'package.json');
+const pkg = (() => require(filePath))();
 
 /**
  * return's re2
diff --git a/tsconfig.app.json b/tsconfig.app.json
index 01612b0cf5c494848992f0c5913ba0852b3e9085..8f46a98c574dcbcbaf97924ad7673b4f8480e5e8 100644
--- a/tsconfig.app.json
+++ b/tsconfig.app.json
@@ -2,7 +2,6 @@
   "extends": "./tsconfig",
   "compilerOptions": {
     "declaration": true,
-    "resolveJsonModule": false,
     "sourceMap": true,
     "inlineSources": true,
     "importHelpers": true,
diff --git a/tsconfig.json b/tsconfig.json
index 6c4727e35c7e53c6fd6794af030ebbd5dde37f82..59f52da38320a9ed44dd44c5b4001daa4d9aa137 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -10,7 +10,7 @@
     "sourceMap": true,
     "allowSyntheticDefaultImports": true,
     "esModuleInterop": true,
-    "resolveJsonModule": false,
+    "resolveJsonModule": true,
     "noUnusedLocals": true,
     "noImplicitOverride": true,
     "experimentalDecorators": true,