Skip to content

Commit

Permalink
Remove types subdirectory from dist
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed May 21, 2024
1 parent dfb1beb commit c5e3003
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,29 +47,29 @@
"exports": {
".": {
"import": {
"types": "./dist/types/index.d.mts",
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/types/index.d.cts",
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./node": {
"import": {
"types": "./dist/types/node.d.mts",
"types": "./dist/node.d.mts",
"default": "./dist/node.mjs"
},
"require": {
"types": "./dist/types/node.d.cts",
"types": "./dist/node.d.cts",
"default": "./dist/node.cjs"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.cts",
"types": "./dist/index.d.cts",
"files": [
"dist"
],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"emitDeclarationOnly": true,
"inlineSources": true,
"noEmit": false,
"outDir": "dist/types",
"outDir": "dist",
"rootDir": "src",
"sourceMap": true
},
Expand Down

0 comments on commit c5e3003

Please sign in to comment.