Skip to content

Commit

Permalink
Fix vue library bundle size issue
Browse files Browse the repository at this point in the history
  • Loading branch information
relliv committed Nov 4, 2024
1 parent 8ecd34e commit a7aefc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/features/nx-vue-calendar-heatmap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngeenx/nx-vue-calendar-heatmap",
"version": "1.0.0",
"version": "1.0.1",
"description": "Vue Calendar Heatmap component",
"keywords": [
"vue",
Expand Down
4 changes: 3 additions & 1 deletion libs/features/nx-vue-calendar-heatmap/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ export default defineConfig({
},
rollupOptions: {
// External packages that should not be bundled into your library.
external: ["vue"],
external: ["vue", "tippy.js", "luxon"],
output: {
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
vue: "Vue",
"tippy.js": "tippy",
luxon: "luxon",
},
},
},
Expand Down

0 comments on commit a7aefc7

Please sign in to comment.