File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @curiousleaf/utils" ,
33 "description" : " A lightweight set of utilities" ,
4- "version" : " 1.0.39 " ,
4+ "version" : " 1.0.40 " ,
55 "license" : " MIT" ,
6+ "type" : " module" ,
67 "author" : {
78 "name" : " Piotr Kulpinski" ,
89910 "url" : " https://kulpinski.pl"
1011 },
1112 "repository" : " curious-leaf/utils" ,
1213 "main" : " ./dist/index.js" ,
13- "module" : " ./dist/index.mjs" ,
1414 "types" : " ./dist/index.d.ts" ,
1515 "exports" : {
16- "." : {
17- "require" : " ./dist/index.js" ,
18- "import" : " ./dist/index.mjs" ,
19- "types" : " ./dist/index.d.ts"
20- }
16+ "default" : " ./dist/index.js" ,
17+ "types" : " ./dist/index.d.ts"
2118 },
19+ "files" : [" dist" ],
2220 "scripts" : {
2321 "build" : " tsup" ,
2422 "lint" : " bun biome lint --apply ." ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { defineConfig } from "tsup"
22
33export default defineConfig ( {
44 entry : [ "src/index.ts" ] ,
5- format : [ "cjs" , " esm"] , // Build for commonJS and ESmodules
5+ format : [ "esm" ] , // Build for commonJS and ESmodules
66 dts : true , // Generate declaration file (.d.ts)
77 splitting : false ,
88 sourcemap : true ,
You can’t perform that action at this time.
0 commit comments