From e44aa4445c1af8cc9195c9364493d4f895362fb1 Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Tue, 19 Mar 2024 21:03:06 +0100 Subject: [PATCH] fix: revert `main` entry removal Reported to break some existing TypeScript setups. Closes #36 --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 9eb12e3..98ac865 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,8 @@ "version": "10.2.1", "description": "Dependency Injection for JavaScript", "types": "dist/index.d.ts", + "main": "dist/index.cjs", + "module": "dist/index.js", "exports": { ".": { "import": "./dist/index.js",