fix(mpa): properly emit assets in mpa mode (#3115)

pull/3121/head
Divyansh Singh 1 year ago committed by GitHub
parent da3d7812a1
commit 6cf1de5e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,6 +70,7 @@ export async function bundle(
...options, ...options,
emptyOutDir: true, emptyOutDir: true,
ssr, ssr,
ssrEmitAssets: config.mpa,
// minify with esbuild in MPA mode (for CSS) // minify with esbuild in MPA mode (for CSS)
minify: ssr minify: ssr
? config.mpa ? config.mpa

Loading…
Cancel
Save