Skip to content

Build your personal knowledge base with Trilium Notes

build(cleanupNodeModules): delete .bin folder

Panagiotis Papadopoulos51f2e23c2f88
diff --git a/bin/cleanupNodeModules.ts b/bin/cleanupNodeModules.ts
index e20004747a..c5df07da99 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"),