Skip to content

Commit

Permalink
fix: fix vue component build, reduce size
Browse files Browse the repository at this point in the history
  • Loading branch information
baurine committed Jul 25, 2024
1 parent 1570c49 commit 2973ced
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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.1",
"version": "0.0.2",
"description": "tisqleditor vue component",
"type": "module",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
formats: ['es']
},
rollupOptions: {
external: ['vue'],
external: ['vue', '@tidbcloud/tisqleditor'],
output: {
globals: {
vue: 'Vue'
Expand Down

0 comments on commit 2973ced

Please sign in to comment.