From 1ebc55c72a1a17293bbf4ad86e0177a10a794750 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 17 Sep 2023 12:23:47 +0200 Subject: Make app packageable --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 593752d..fc2acc6 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ -build: +build: library/public/main.js + +library/public/main.js: @esbuild \ - --bundle src/main.ts \ + --bundle library/client/main.ts \ --minify \ --target=es2017 \ - --outdir=public + --outdir=library/public clean: - @rm -f public/main.js + @rm -f library/public/*.js -- cgit v1.2.3