Skip to content

Commit

Permalink
fix: fix bin module, use cj
Browse files Browse the repository at this point in the history
  • Loading branch information
zanminkian committed Apr 14, 2024
1 parent 1da20e8 commit 1eb9fb3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/swift-islands-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rnm/tscx": patch
---

fix: fix bin module, use cjs
2 changes: 1 addition & 1 deletion packages/tscx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"author": "hellozmj@qq.com",
"type": "module",
"bin": {
"tscx": "./dist/bin/tscx.js"
"tscx": "./dist/bin/tscx.cjs"
},
"scripts": {
"build": "tsc -p tsconfig.build.json"
Expand Down
1 change: 1 addition & 0 deletions packages/tscx/src/bin/tscx.cts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./tscx.js";

0 comments on commit 1eb9fb3

Please sign in to comment.