Skip to content

Commit 78c1e78

Browse files
committed
update build
1 parent 5f11060 commit 78c1e78

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818
"vitest": "^1.0.0"
1919
},
2020
"scripts": {
21-
"build": "tsdown",
21+
"build": "tsdown src/index.ts --format cjs,esm --dts --clean",
2222
"test": "vitest --config vitest.config.ts",
2323
"test:watch": "vitest --config vitest.config.ts --watch"
2424
},
25+
"main": "./dist/index.js",
26+
"module": "./dist/index.mjs",
27+
"types": "./dist/index.d.ts",
2528
"tsdown": {
2629
"entry": "src/index.ts",
2730
"outDir": "dist"

0 commit comments

Comments
 (0)