aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2022-09-04 21:51:40 +0200
committerJoris2022-09-04 21:51:40 +0200
commit57a1076a18ac82e603ffa9fc78f960ee373895d5 (patch)
tree800e66f532ccf823277fee5a894a68077b397d83 /Makefile
parent5df9270538bfcc08c9726887c7b8f54eec894dce (diff)
Improve build tooling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
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