We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exports
1 parent a2cf41e commit 7f8ed64Copy full SHA for 7f8ed64
package.json
@@ -10,12 +10,7 @@
10
"email": "ikatyang@gmail.com",
11
"url": "https://github.com/ikatyang"
12
},
13
- "exports": {
14
- ".": {
15
- "types": "./dist/index.d.ts",
16
- "default": "./dist/index.js"
17
- }
18
- },
+ "exports": "./dist/index.js",
19
"license": "MIT",
20
"scripts": {
21
"prepare": "yarn run build",
tsdown.config.ts
@@ -3,4 +3,5 @@ import { defineConfig } from 'tsdown';
3
export default defineConfig({
4
external: ['@babel/types'],
5
fixedExtension: false,
6
+ dts: true,
7
});
0 commit comments