diff --git a/packages/ui-components/package.json b/packages/ui-components/package.json index 1b8b125b..4d95d113 100644 --- a/packages/ui-components/package.json +++ b/packages/ui-components/package.json @@ -13,11 +13,10 @@ "dist" ], "scripts": { - "build:barrel": "barrelsby --delete --directory dist --pattern \"**/*.d.ts\" --name \"index.d\"", "build:check": "tsc", "build:js": "vite build", "build:types": "tsup", - "build": "npm-run-all --serial clean build:check build:js build:types build:barrel", + "build": "npm-run-all --serial clean build:check build:js build:types", "clean": "rimraf dist", "dev": "yarn run clean && vite build --watch --mode development", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix --color", diff --git a/packages/ui-components/tsup.config.ts b/packages/ui-components/tsup.config.ts index 5c8e7d91..33a80cd2 100644 --- a/packages/ui-components/tsup.config.ts +++ b/packages/ui-components/tsup.config.ts @@ -2,10 +2,7 @@ import { defineConfig } from "tsup"; export default defineConfig({ format: "esm", - entry: { - components: "src/components/index.ts", - common: "src/common/index.d.ts", - }, + entry: ["src/components/index.ts"], dts: { only: true, },