fix: disable iife and build with inlineCSS enable
All checks were successful
repod / xml (push) Successful in 27s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 1m2s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-09-12 22:10:10 +02:00
parent 4f0685ccbd
commit c983ab8d3b

View File

@ -7,8 +7,6 @@ const config = defineConfig(({ mode }) => ({
rollupOptions: { rollupOptions: {
output: { output: {
entryFileNames: 'js/[name].js', entryFileNames: 'js/[name].js',
format: 'iife',
manualChunks: false,
}, },
}, },
sourcemap: mode !== 'production', sourcemap: mode !== 'production',
@ -23,5 +21,5 @@ export default createAppConfig(
{ {
main: 'src/main.js', main: 'src/main.js',
}, },
{ config }, { config, inlineCSS: true },
) )