From 57a1076a18ac82e603ffa9fc78f960ee373895d5 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 4 Sep 2022 21:51:40 +0200 Subject: Improve build tooling --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..593752d --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +build: + @esbuild \ + --bundle src/main.ts \ + --minify \ + --target=es2017 \ + --outdir=public + +clean: + @rm -f public/main.js -- cgit v1.2.3