From 532106d653cd8caa9432142754f9789ee20c3c27 Mon Sep 17 00:00:00 2001 From: Craig Harshbarger Date: Mon, 23 May 2022 13:53:23 -0500 Subject: [PATCH] Make sure vue-router is an external dependency --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 6916dd5dc..ebe75a2c8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -31,7 +31,7 @@ export default defineConfig(({ mode }) => { }, rollupOptions: { // ensures vue isn't added to the bundle - external: ['vue'], + external: ['vue', 'vue-router'], output: { exports: 'named', // Provide vue as a global variable to use in the UMD build