fix: ⚡ disable iife and build with inlineCSS enable
This commit is contained in:
parent
4f0685ccbd
commit
c983ab8d3b
@ -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 },
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user