From bfbe31249f8c742aaae986ee014442c5800b9957 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Tue, 23 Jan 2024 03:56:19 +0100 Subject: [PATCH] makefile: install esbuild. --- makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/makefile b/makefile index 865a539..8def696 100644 --- a/makefile +++ b/makefile @@ -3,6 +3,9 @@ all: build build: spago build +bundle-module: + PATH=./node_modules/.bin:$$PATH spago bundle-module + run: spago run @@ -18,3 +21,7 @@ DOCS_HTTPD_PORT ?= 30000 DOCS_DIR ?= generated-docs/html serve-docs: docs darkhttpd $(DOCS_DIR) --addr $(DOCS_HTTPD_ADDR) --port $(DOCS_HTTPD_PORT) --log $(DOCS_HTTPD_ACCESS_LOGS) + +install-esbuild: + @echo "install ebbuild" + [ -f node_modules/.bin/esbuild ] || npm install esbuild