chore: fix running dist package in nodejs
So we have to add ".js" to the import name...
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
"dev-bun": "bun ./src/index.ts",
|
||||
"start": "node ./dist/index.js",
|
||||
"start-bun": "bun ./dist/index.js",
|
||||
"build": "swc ./src -d dist"
|
||||
"build": "swc ./src -d dist --strip-leading-paths"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@swc-node/register": "^1.10.10",
|
||||
|
||||
Reference in New Issue
Block a user