diff options
author | Joris | 2022-09-04 16:22:46 +0200 |
---|---|---|
committer | Joris | 2022-09-04 16:23:52 +0200 |
commit | 1d92ce00202f4db82c5e2ec793b5f0cf621876b9 (patch) | |
tree | 2d71b3def23c399338792fc6794720bbead96c97 | |
parent | 0b32b9110dd406ca052cfd7348f0ddd7e35b048e (diff) |
Add Makefile
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | README.md | 4 |
2 files changed, 12 insertions, 1 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 @@ -4,4 +4,6 @@ With nix installed: bin/dev-server -Then, open your browser at `http://localhost:8000`. +# Build + + make |