From 0f905a27ec7d1477a1b1b809d9c7d6a16257f23e Mon Sep 17 00:00:00 2001 From: stdavis Date: Thu, 14 Nov 2024 15:49:39 -0700 Subject: [PATCH] chore: add vite dedupe config to help when linking to uds --- vite.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index 092d481a..bdce4444 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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'], + }, });