From f754d5dff33a55f5069a1570bd0bcb51485528ff Mon Sep 17 00:00:00 2001 From: 0xpapercut <0xpapercut@gmail.com> Date: Fri, 3 May 2024 22:22:08 +0200 Subject: [PATCH] Add Makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e4fa807 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.PHONY: wasm +wasm: + cd src/core && wasm-pack build --target web + +.PHONY: wasm-dev +wasm-dev: + cd src/core && wasm-pack build --target web --dev + +.PHONY: build +build: + node esbuild.config.mjs