🔧 test environment setup updated

This commit is contained in:
Paul Valerie GOMA 2025-08-02 23:24:38 +02:00
parent 738f5ae2ad
commit 1fb81ec69f

View File

@ -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'
},
},
},
},
});
})