Skip to content

Commit 936059b

Browse files
committed
fix(core): package not available
1 parent 15f70f6 commit 936059b

File tree

3 files changed

+97
-114
lines changed

3 files changed

+97
-114
lines changed

packages/core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"dev": "tsdown -w",
3434
"bump": "npm run build && bumpp --tag v --sign"
3535
},
36-
"dependencies": {
36+
"devDependencies": {
37+
"unplugin-vue": "catalog:prod",
3738
"@vue-nextui/alert": "workspace: *",
3839
"@vue-nextui/button": "workspace: *"
3940
}

packages/core/tsdown.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { defineConfig } from "tsdown";
2+
import vue from "unplugin-vue/rolldown";
3+
4+
export default defineConfig({
5+
entry: "src/index.ts",
6+
plugins: [vue()],
7+
external: ["vue"],
8+
dts: {
9+
vue: true,
10+
},
11+
});

0 commit comments

Comments
 (0)