🔧 test environment setup updated

This commit is contained in:
Paul Valerie GOMA 2025-07-31 01:50:55 +02:00
parent 521206a589
commit 18fa9df5bf

View File

@ -7,8 +7,8 @@ import path from 'path';
export default defineConfig({
plugins: [
vue(), // compile les .vue
vueDevTools(), // plugin dev (optionnel)
vue(),
vueDevTools()
],
resolve: {
alias: {
@ -20,7 +20,7 @@ export default defineConfig({
lib: {
entry: path.resolve(__dirname, 'src/index.ts'),
name: 'VisuaVue',
fileName: 'visua-vue',
fileName: (format) => format === 'es' ? 'visua-vue.es.js' : 'visua-vue.umd.cjs',
formats: ['es', 'umd'],
},
rollupOptions: {