From 6cf1de5e9e15d4507054744b665ac15d5f9a05f1 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sat, 21 Oct 2023 17:20:35 +0530 Subject: [PATCH] fix(mpa): properly emit assets in mpa mode (#3115) --- src/node/build/bundle.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/build/bundle.ts b/src/node/build/bundle.ts index aa45c70a..d96cf75d 100644 --- a/src/node/build/bundle.ts +++ b/src/node/build/bundle.ts @@ -70,6 +70,7 @@ export async function bundle( ...options, emptyOutDir: true, ssr, + ssrEmitAssets: config.mpa, // minify with esbuild in MPA mode (for CSS) minify: ssr ? config.mpa