Skip to content

Commit 3f7e540

Browse files
jiunbaeclaude
andcommitted
fix(ci): rename esbuild.config.ts to .mjs for Node 18/20 compat
Node 18/20 cannot run .ts files directly without a loader. Renamed to .mjs since the file is already valid ESM JavaScript. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8586de3 commit 3f7e540

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"context-compress": "dist/cli/index.js"
99
},
1010
"scripts": {
11-
"build": "tsc && node esbuild.config.ts",
11+
"build": "tsc && node esbuild.config.mjs",
1212
"build:hooks": "esbuild src/hooks/pretooluse.ts --bundle --platform=node --format=esm --outfile=hooks/pretooluse.mjs --target=node18",
1313
"dev": "tsx src/index.ts",
1414
"typecheck": "tsc --noEmit",

0 commit comments

Comments
 (0)