From c983ab8d3b64ff9a834f043cc421787901d7e9ea Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Thu, 12 Sep 2024 22:10:10 +0200 Subject: [PATCH] fix: :zap: disable iife and build with inlineCSS enable --- vite.config.mjs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vite.config.mjs b/vite.config.mjs index 2fe3b4d..41dace7 100644 --- a/vite.config.mjs +++ b/vite.config.mjs @@ -7,8 +7,6 @@ const config = defineConfig(({ mode }) => ({ rollupOptions: { output: { entryFileNames: 'js/[name].js', - format: 'iife', - manualChunks: false, }, }, sourcemap: mode !== 'production', @@ -23,5 +21,5 @@ export default createAppConfig( { main: 'src/main.js', }, - { config }, + { config, inlineCSS: true }, )