Skip to content

Commit

Permalink
chore: add vite dedupe config to help when linking to uds
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Nov 14, 2024
1 parent e048f8b commit 0f905a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@ import loadVersion from 'vite-plugin-package-version';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), loadVersion()],
resolve: {
// this is only applicable when npm-linking the utah-design-package
dedupe: ['firebase', '@arcgis/core'],
},
});

0 comments on commit 0f905a2

Please sign in to comment.