worm: make make make faster
pruning the node_modules directory instead of excluding the matches means that node_modules is now never traversed in the first place, making dependency resolution instantaneous (from ~800ms before)
This commit is contained in:
parent
19149e653e
commit
f39c5ac81b
|
@ -1,4 +1,4 @@
|
|||
SOURCE_FILES:=$(shell find . -name "*.ts" -not -path "./node_modules/*")
|
||||
SOURCE_FILES:=$(shell find . -type d -name node_modules -prune -o -name "*.ts")
|
||||
|
||||
.PHONY: all
|
||||
all: build
|
||||
|
|
Loading…
Reference in New Issue