mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-05 04:19:59 -06: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user