File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 77 "scripts" : {
88 "test" : " bun test" ,
99 "lint" : " eslint" ,
10- "build" : " tsc && bun build --target node src/index.ts --production --outfile dist/index.cjs --format cjs --packages external && bun build --target node src/index.ts --production --outfile dist/index.mjs --format esm --packages external" ,
10+ "build" : " tsc && bun build --target node src/index.ts --production --outfile dist/index.cjs --format cjs --packages external && bun build --target node src/index.ts --production --outfile dist/index.mjs --format esm --packages external && cp dist/index.d.ts dist/index.d.cts " ,
1111 "prepare" : " husky"
1212 },
1313 "exports" : {
1414 "." : {
15- "types" : " ./dist/index.d.ts" ,
16- "import" : " ./dist/index.mjs" ,
17- "require" : " ./dist/index.cjs"
15+ "import" : {
16+ "types" : " ./dist/index.d.ts" ,
17+ "default" : " ./dist/index.mjs"
18+ },
19+ "require" : {
20+ "types" : " ./dist/index.d.ts" ,
21+ "default" : " ./dist/index.cjs"
22+ }
1823 }
1924 },
2025 "types" : " ./dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments