From 7de274e432044392cbbf34721f1602e1986819c7 Mon Sep 17 00:00:00 2001 From: sebastien Date: Mon, 17 Jun 2024 18:10:17 +0200 Subject: [PATCH] fix sites without a static dir --- packages/docusaurus/src/webpack/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus/src/webpack/client.ts b/packages/docusaurus/src/webpack/client.ts index 0b9987f46024..6a2e80899068 100644 --- a/packages/docusaurus/src/webpack/client.ts +++ b/packages/docusaurus/src/webpack/client.ts @@ -51,7 +51,7 @@ async function createBaseClientConfig({ name: 'Client', }), await createStaticDirectoriesCopyPlugin({props}), - ], + ].filter(Boolean), }); }