aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoris2022-09-04 16:22:46 +0200
committerJoris2022-09-04 16:23:52 +0200
commit1d92ce00202f4db82c5e2ec793b5f0cf621876b9 (patch)
tree2d71b3def23c399338792fc6794720bbead96c97 /Makefile
parent0b32b9110dd406ca052cfd7348f0ddd7e35b048e (diff)
Add Makefile
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