From 91aa2945e73f24304eda66ec31b92b4ba97751c8 Mon Sep 17 00:00:00 2001 From: Benny Neugebauer Date: Thu, 1 Oct 2026 16:09:55 +0200 Subject: [PATCH] fix: Point package main to the compiled JavaScript entry "main" referenced dist/src/converter/convertProject.ts, which the build never creates, so importing ts2esm as a library failed. It now points to the compiled .js file, next to which TypeScript also finds the .d.ts types. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 28e411c..4d99bd2 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "typescript" ], "license": "MIT", - "main": "dist/src/converter/convertProject.ts", + "main": "dist/src/converter/convertProject.js", "name": "ts2esm", "private": false, "repository": {