From 5dbca1f5e23532c930593865de8cfac0ef76f3c2 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Fri, 24 Jun 2022 16:22:14 +0530 Subject: [PATCH] chore: make errors reproducible --- src/node/build/bundle.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/node/build/bundle.ts b/src/node/build/bundle.ts index bdb69a13..e82e09e5 100644 --- a/src/node/build/bundle.ts +++ b/src/node/build/bundle.ts @@ -53,12 +53,12 @@ export async function bundle( clientJSMap ), ssr: { - noExternal: ['vitepress'] - }, - // TODO: remove this workaround - legacy: { - buildSsrCjsExternalHeuristics: true + noExternal: ['vitepress', '@docsearch/css'] }, + // // TODO: remove this workaround + // legacy: { + // buildSsrCjsExternalHeuristics: true + // }, build: { ...options, emptyOutDir: true,