From 1fb81ec69f5772e70197ab532dad7bc70e266e17 Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Sat, 2 Aug 2025 23:24:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20test=20environment=20setup=20upd?= =?UTF-8?q?ated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 18ee9c8..2e16d35 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,9 +1,9 @@ // vite.config.ts -import { fileURLToPath, URL } from 'node:url'; -import { defineConfig } from 'vite'; -import vue from '@vitejs/plugin-vue'; -import vueDevTools from 'vite-plugin-vue-devtools'; -import path from 'path'; +import { fileURLToPath, URL } from 'node:url' +import { defineConfig } from 'vite' +import vue from '@vitejs/plugin-vue' +import vueDevTools from 'vite-plugin-vue-devtools' +import path from 'path' export default defineConfig({ plugins: [ @@ -24,12 +24,15 @@ export default defineConfig({ formats: ['es', 'umd'], }, rollupOptions: { - external: ['vue'], + external: ['vue', 'primevue', 'vue-router', 'primeicons'], output: { globals: { vue: 'Vue', + primevue: 'PrimeVue', + 'vue-router': 'VueRouter', + primeicons: 'primeicons' }, }, }, }, -}); +})