Skip to content

Commit 60bd19a

Browse files
committed
chore: auto-generate exports
1 parent 8e2fc1e commit 60bd19a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@
3030
"types": "./dist/index.d.ts",
3131
"exports": {
3232
".": "./dist/index.js",
33+
"./api": "./dist/api.js",
34+
"./esbuild": "./dist/esbuild.js",
35+
"./rollup": "./dist/rollup.js",
3336
"./vite": "./dist/vite.js",
3437
"./webpack": "./dist/webpack.js",
35-
"./rollup": "./dist/rollup.js",
36-
"./esbuild": "./dist/esbuild.js",
37-
"./api": "./dist/api.js",
38-
"./*": "./*"
38+
"./package.json": "./package.json"
3939
},
4040
"typesVersions": {
4141
"*": {

tsdown.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ import { defineConfig } from 'tsdown'
22

33
export default defineConfig({
44
entry: './src/*.ts',
5+
exports: true,
56
})

0 commit comments

Comments
 (0)