diff options
-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 |