Skip to content

Commit

Permalink
perf(bundle): do not bundle @vueuse/core
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Jan 25, 2024
1 parent 29b5365 commit 84ed058
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/vue-form-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"@myparcel-vfb/hook-manager": "workspace:^1.0.0-beta.11",
"@myparcel-vfb/plugin": "workspace:^1.0.0-beta.37",
"@myparcel-vfb/utils": "workspace:^1.0.0-beta.6",
"@myparcel/ts-utils": "^1.6.0"
"@myparcel/ts-utils": "^1.6.0",
"@vueuse/core": "^10.1.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/vue-form-builder/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default defineConfig((env) => {
formats: ['es', 'cjs'],
},
rollupOptions: {
external: ['vue', '@myparcel/ts-utils'],
external: ['vue', '@myparcel/ts-utils', '@vueuse/core'],
output: {
globals: {
vue: 'Vue',
Expand Down
1 change: 1 addition & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,7 @@ __metadata:
"@myparcel/ts-utils": "npm:^1.6.0"
"@vitejs/plugin-vue": "npm:^4.0.0"
"@vitest/coverage-v8": "npm:^1.0.0"
"@vueuse/core": "npm:^10.1.2"
typescript: "npm:^5.0.0"
vite: "npm:^5.0.0"
vite-plugin-custom-tsconfig: "npm:^1.0.4"
Expand Down

0 comments on commit 84ed058

Please sign in to comment.