fix: disable iife and build with inlineCSS enable

This commit is contained in:
Michel Roux 2024-09-12 22:10:10 +02:00
parent 4f0685ccbd
commit c983ab8d3b
1 changed files with 1 additions and 3 deletions

View File

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