diff --git a/packages/electron/package.json b/packages/electron/package.json index af9cd948f..0654c8bbb 100644 --- a/packages/electron/package.json +++ b/packages/electron/package.json @@ -3,9 +3,21 @@ "version": "7.25.0", "main": "src/notifier.js", "exports": { - ".": "./src/notifier.js", - "./main": "./src/client/main.js", - "./renderer": "./src/client/renderer.js" + ".": { + "types": "./types/notifier.d.ts", + "default": "./src/notifier.js", + "import": "./src/notifier.js" + }, + "./main": { + "types": "./types/notifier.d.ts", + "default": "./src/client/main.js", + "import": "./src/client/main.js" + }, + "./renderer": { + "types": "./types/notifier.d.ts", + "default": "./src/client/renderer.js", + "import": "./src/client/renderer.js" + } }, "types": "types/notifier.d.ts", "description": "@bugsnag/electron notifier",