Skip to content

Commit c0015e2

Browse files
committed
fix: fix pack.exe's file extension
1 parent a9bb29b commit c0015e2

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix",
4444
"lint.prettier": "prettier --list-different --write .",
4545
"lint.tsc": "tsc --noEmit",
46-
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && ts-node --esm ./dev/scripts/pack-exe.ts",
46+
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.mjs",
4747
"prepare": "pnpm run -r build && pnpm run -w build",
4848
"start.docker": "docker run -t setup-cpp .",
4949
"start.docker.arch": "docker run -t setup-cpp:arch .",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"allowJs": true,
2323
"esModuleInterop": true,
2424
"resolveJsonModule": true,
25-
"module": "NodeNext",
25+
"module": "ESNext",
2626
"moduleResolution": "node",
2727
"importHelpers": false,
2828
"outDir": "./dist"

0 commit comments

Comments
 (0)