Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(core): ensure dist/ is always built and included in published package (#449)

Cindy Zhangc0831c7dd586
diff --git a/packages/core/package.json b/packages/core/package.json
index 4fe196a803..22e22108ae 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -353,7 +353,13 @@
"require": "./dist/utils/index.js"
}
},
+ "files": [
+ "dist",
+ "src",
+ "xds.md"
+ ],
"scripts": {
+ "prepack": "yarn build",
"build": "NODE_OPTIONS='--max-old-space-size=4096' tsup",
"dev": "tsup --watch",
"test": "vitest run --root ../..",