From 18fa9df5bf5fc7da9325e48f71c34eede9d17c6a Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Thu, 31 Jul 2025 01:50:55 +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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 29476cb..18ee9c8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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: {