Skip to content

Commit

Permalink
Merge pull request #66 from tidbcloud/fix/vue-build
Browse files Browse the repository at this point in the history
fix(vue): fix generate type declaration
  • Loading branch information
baurine authored Jul 25, 2024
2 parents 3467a63 + 5f0d902 commit f28e41f
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 f28e41f

Please sign in to comment.