From 11ba1ab5c8a5d051a226f1d673bd39fa6e6d0113 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Tue, 7 Jan 2025 14:10:54 +0100 Subject: [PATCH] fix(api): :bug: Fix failing build The node_modules directory didn't exist, so cp threw an error --- build.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.ts b/build.ts index b1dfc9b0..91974db0 100644 --- a/build.ts +++ b/build.ts @@ -45,6 +45,8 @@ await $`cp -r drizzle dist/drizzle`; // Copy plugin manifests await $`cp plugins/openid/manifest.json dist/plugins/openid/manifest.json`; +await $`mkdir -p dist/node_modules`; + // Copy unzipit and uzip-module to dist await $`cp -r node_modules/unzipit dist/node_modules/unzipit`; await $`cp -r node_modules/uzip-module dist/node_modules/uzip-module`;