From fbb4fc9453b16e19927e5a06970f7444852e3597 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Mon, 24 Jun 2024 16:38:59 +0800 Subject: [PATCH] fix: attempt to fix building issue --- package.json | 2 +- src/components/button/Button.vue | 19 ++----------------- src/components/button/FaIconButton.vue | 16 ++++++++-------- src/components/button/IconButton.vue | 15 +++++++++------ src/components/button/LabelButton.vue | 4 ++-- src/components/button/button.ts | 15 +++++++++++++++ src/components/chart/LineChart.vue | 2 +- src/components/chart/MetricLineChart.vue | 2 +- src/components/nav/NavActionButton.vue | 4 ++-- 9 files changed, 41 insertions(+), 38 deletions(-) create mode 100644 src/components/button/button.ts diff --git a/package.json b/package.json index 0c16bcea2248c..3692b67ddcc81 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "prebuild": "pnpm run prebuild:gen", "prebuild:gen": "pnpm run gen:index && pnpm run gen:svg", "postbuild": "pnpm run postbuild:gen", - "postbuild:gen": "pnpm run gen:dts && pnpm run gen:interfaces", + "postbuild:gen": "pnpm run gen:interfaces", "postbuild:dist:local": "node ./scripts/copy-dist-local.js", "build": "pnpm run prebuild && pnpm run build:lib && pnpm run postbuild", "build:dist:local": "pnpm run build && pnpm run postbuild:dist:local", diff --git a/src/components/button/Button.vue b/src/components/button/Button.vue index afadb48f62db6..a26077a7febc9 100644 --- a/src/components/button/Button.vue +++ b/src/components/button/Button.vue @@ -1,24 +1,9 @@