From 51f2e23c2f88631a2465de143500d1bbb7367cec Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 26 Mar 2025 09:28:50 +0100 Subject: [PATCH] build(cleanupNodeModules): delete .bin folder this is only needed for executing package scripts -> which we don't do in production fixes #1499 --- bin/cleanupNodeModules.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/cleanupNodeModules.ts b/bin/cleanupNodeModules.ts index e20004747..c5df07da9 100644 --- a/bin/cleanupNodeModules.ts +++ b/bin/cleanupNodeModules.ts @@ -67,6 +67,7 @@ function cleanupNodeModules(basePath: string) { * TODO: check if we want removeSync to throw an error, if path does not exist anymore -> currently it will silently fail */ const extraFoldersDelete = new Set([ + path.join(nodeModulesDirPath, ".bin"), path.join(nodeModulesDirPath, "@excalidraw", "excalidraw", "dist", "dev"), path.join(nodeModulesDirPath, "boxicons", "svg"), path.join(nodeModulesDirPath, "boxicons", "node_modules"),