From 35e60a89decd41b2770076f029741c44a1014264 Mon Sep 17 00:00:00 2001 From: ciesiolka <129899434+ciesiolka@users.noreply.github.com> Date: Fri, 16 Jan 2026 13:27:32 +0100 Subject: [PATCH] Fix ESM build file names `tsup` produces two builds - ESM (`.js` files) and CJS (`.cjs`). This commit replaces non-existing paths (`.mjs`) Fixes https://github.com/devowlio/node-lame/issues/48 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 737e9db..5041651 100644 --- a/package.json +++ b/package.json @@ -22,14 +22,14 @@ "node": ">=20" }, "main": "./dist/index.cjs", - "module": "./dist/index.mjs", + "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", + "import": "./dist/index.js", "require": "./dist/index.cjs", - "default": "./dist/index.mjs" + "default": "./dist/index.js" } }, "files": [