aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-05-08 18:52:58 +0200
committerTeddy Wing2020-05-08 18:52:58 +0200
commitade3c99305acb7798d727ad750bbc3b89118134f (patch)
treeedf442a16416bf507ed1271432b0246850957517
parent3e9112713823c7fd59d54b33f1db2f898e897c31 (diff)
downloadnetflix-immersive-ade3c99305acb7798d727ad750bbc3b89118134f.tar.bz2
Makefile: Only build `index.js` with Browserify
Previously this rule was passing all inputs to Browserify. We only need to pass `index.js`.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e8d3a15..09b8b5e 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ build/%.js: src/%.ts
$(TSC)
netflix-no-skip.user.js: build/index.js build/*.js src/userscript-header.txt
- $(BROWSERIFY) $^ -o $@
+ $(BROWSERIFY) $< -o $@
cat src/userscript-header.txt $@ > $@.tmp
mv $@.tmp $@