Skip to content

Commit

Permalink
Merge pull request #99 from alan-wu/externalise-utilities
Browse files Browse the repository at this point in the history
Externalise utilities when bundling.
  • Loading branch information
alan-wu authored Jan 6, 2025
2 parents c21ab00 + 0f5c630 commit 8390ffd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ export default defineConfig({
fileName: 'map-side-bar',
},
rollupOptions: {
external: ["vue"],
external: ["vue", "@abi-software/map-utilities"],
output: {
globals: {
vue: "Vue",
},
globals: {
vue: "Vue",
"@abi-software/map-utilities": "@abi-software/map-utilities"
},
},
},
},
Expand Down

0 comments on commit 8390ffd

Please sign in to comment.