Skip to content

Commit

Permalink
fix(vue): fix generate type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Jul 25, 2024
1 parent 3467a63 commit 5f0d902
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 378 deletions.
5 changes: 2 additions & 3 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tidbcloud/tisqleditor-vue",
"version": "0.0.2",
"version": "0.0.3",
"description": "tisqleditor vue component",
"type": "module",
"main": "dist/index.js",
Expand All @@ -13,7 +13,7 @@
"CHANGELOG.md"
],
"scripts": {
"build": "vue-tsc -b && vite build"
"build": "vite build && vue-tsc -b"
},
"keywords": [
"tidbcloud",
Expand All @@ -31,7 +31,6 @@
"@vitejs/plugin-vue": "^5.0.5",
"typescript": "^5.2.2",
"vite": "^5.3.4",
"vite-plugin-dts": "4.0.0-beta.1",
"vue": "^3.4.31",
"vue-tsc": "^2.0.24"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/vue/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import dts from 'vite-plugin-dts'

export default defineConfig({
plugins: [vue(), dts()],
plugins: [vue()],
build: {
lib: {
entry: 'src/index.ts',
Expand Down
Loading

0 comments on commit 5f0d902

Please sign in to comment.