Skip to content

Commit 7f8ed64

Browse files
committed
Simplify exports
1 parent a2cf41e commit 7f8ed64

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@
1010
"email": "ikatyang@gmail.com",
1111
"url": "https://github.com/ikatyang"
1212
},
13-
"exports": {
14-
".": {
15-
"types": "./dist/index.d.ts",
16-
"default": "./dist/index.js"
17-
}
18-
},
13+
"exports": "./dist/index.js",
1914
"license": "MIT",
2015
"scripts": {
2116
"prepare": "yarn run build",

tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ import { defineConfig } from 'tsdown';
33
export default defineConfig({
44
external: ['@babel/types'],
55
fixedExtension: false,
6+
dts: true,
67
});

0 commit comments

Comments
 (0)