aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris2022-06-11 18:15:43 +0200
committerJoris2022-06-11 18:15:43 +0200
commit1e0c8631f228ceb251f838b40d0a6efae0b4cf4d (patch)
tree7cbf8a02f22458e1a55c08b346fcf7a4beba40ae
parent03197b1ab992540b951fcbc6f841cfcd42a757f3 (diff)
downloaddrum-1e0c8631f228ceb251f838b40d0a6efae0b4cf4d.tar.gz
drum-1e0c8631f228ceb251f838b40d0a6efae0b4cf4d.tar.bz2
drum-1e0c8631f228ceb251f838b40d0a6efae0b4cf4d.zip
Target es2017 in esbuild
-rwxr-xr-xbin/watch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/watch.sh b/bin/watch.sh
index f93ce18..82686ae 100755
--- a/bin/watch.sh
+++ b/bin/watch.sh
@@ -9,7 +9,7 @@ trap "fuser -k 8000/tcp" EXIT
# Watch TypeScript
CHECK="echo Checking TypeScript… && tsc --checkJs"
-BUILD="esbuild --bundle src/main.ts --target=es2016 --outdir=public"
+BUILD="esbuild --bundle src/main.ts --target=es2017 --outdir=public"
watchexec \
--clear \
--watch src \