From 1e0c8631f228ceb251f838b40d0a6efae0b4cf4d Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 11 Jun 2022 18:15:43 +0200 Subject: Target es2017 in esbuild --- bin/watch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- cgit v1.2.3