Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
build(copy-dist): add further folders to list of filterableDirs
Panagiotis Papadopoulosa9643174ccc5
diff --git a/bin/copy-dist.ts b/bin/copy-dist.tsindex f5901225bb..5866508112 100644--- a/bin/copy-dist.ts+++ b/bin/copy-dist.ts@@ -72,10 +72,14 @@ function cleanupNodeModules() {const nodeDir = fs.readdirSync(path.join(DEST_DIR, "./node_modules"), { recursive: true, withFileTypes: true });const filterableDirs = new Set([- "test",- "docs","demo",+ "demos",+ "doc",+ "docs","example",+ "examples",+ "test",+ "tests"]);const filteredDirs = nodeDir