From 24a61aa18d2152c07955cb403da33bfc9836c274 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Mon, 16 Mar 2026 01:55:56 +0100 Subject: [PATCH] fix: remove "type": "module" from package.json Node.js treats dist/index.js as ESM due to "type": "module", but the bundle uses CJS require() calls. Remove the field so Node.js defaults to CJS for .js files. Co-Authored-By: Claude Opus 4.6 --- dist/index.js | Bin 1379667 -> 1379617 bytes package.json | 1 - 2 files changed, 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 7917142356a53d9e92483dcfac2aef2c86258e41..48a2e3e6f8fb0a9b60962b7e1f0dda0807c74d49 100644 GIT binary patch delta 343 zcmcaSD`erUkcJk<7N!>F7M2#)7Pc1l7LFFq7OocV7M>Q~7QPn#7J(MQ7NIS|FTSQ~ zT9+jjDWsd&7L;g2IBRHX>bRGJ*!d+uHdrnPNzOSFE~irp7B5Ky=}7^zlTASEG%&j; zwXig^C{;r#zgS6gd+ayiqs%f8^9qp6t8|2!x83EJ@G?dXO`U9SkWd-OD2VkbFeREg zE?~KWcn!_%Qh$U`z88QfNp^xMng0E?NSv~!PI){?1n!2?lFS?>pwoO1`s?0^@Jdea vWfhg4zKT^;YWp!(Q65HSO&yQvzg~+-O~1z>%C-GBo9Ge7?FTtTC$Rtk#+q+J delta 415 zcmZ2DE9CO5kcJk<7N!>F7M2#)7Pc1l7LFFq7OocV7M>Q~7QPn#7J(MQ7NIS|FTU36 z7;0LVB^D{9o7fhVXhb+`XaYra+)F{c{1Pw^ET4lS@0^JwuTu(^D@lXsO#$Gtq%!n>K3V6G@Yv8B=xVas;CU&6~64M2{| z_67-;K`ekcE(M`bQ^y4?Ul0#+!1h1Cg-^a0ftjD|gitvB>T8iWuy4!bL85RsmX>7Z zfL*EMgKSdR8xdYfd6-ERsCo(#OEN%urq{8GN-+WLoxv)~!w6z5VH14~X7qE2PGSK7 D!)AWX diff --git a/package.json b/package.json index 8c572ad..4bc2782 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,5 @@ { "private": true, - "type": "module", "packageManager": "pnpm@10.32.1", "scripts": { "build:bundle": "esbuild src/index.ts --bundle --platform=node --target=node24 --format=cjs --minify --outfile=dist/index.js --loader:.json=json",