Merge pull request #3 from CherryLover/fix/esm-cjs-compatibility

fix: use .cjs extension for bin script to fix ES module compatibility
This commit is contained in:
weishu
2025-12-25 10:41:28 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
View File
+2 -2
View File
@@ -13,10 +13,10 @@
"directory": "cli"
},
"bin": {
"hapi": "bin/hapi.js"
"hapi": "bin/hapi.cjs"
},
"files": [
"bin/hapi.js"
"bin/hapi.cjs"
],
"imports": {
"#embedded-assets": {