mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-29 08:38:17 +08:00
build(copy-dist): add further folders to list of filterableDirs
same as before, but some of the modules use singular/plural, so just check for both
This commit is contained in:
parent
6260ea1532
commit
a9643174cc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user