Skip to content

Commit

Permalink
Externalise utilities when bundling.
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-wu committed Jan 6, 2025
1 parent c21ab00 commit 0f5c630
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 0f5c630

Please sign in to comment.