diff options
author | metamuffin <metamuffin@disroot.org> | 2023-07-24 22:33:50 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-07-24 22:33:50 +0200 |
commit | 1f639b98e07bcb4f7901e678e670894fbc370d8f (patch) | |
tree | 901ea00ec4b9ac090a30738b90662f5bb7d09a46 /makefile | |
parent | 5a1201ec1f47b393ce40437bf9b3a478538bac51 (diff) | |
download | fastbangs-1f639b98e07bcb4f7901e678e670894fbc370d8f.tar fastbangs-1f639b98e07bcb4f7901e678e670894fbc370d8f.tar.bz2 fastbangs-1f639b98e07bcb4f7901e678e670894fbc370d8f.tar.zst |
add frontend draft
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..003ee5e --- /dev/null +++ b/makefile @@ -0,0 +1,9 @@ + +ESFLAGS = --target=esnext --sourcemap --format=esm + +all: frontend/bundle.js +watch: + esbuild frontend/main.ts --bundle --outfile=frontend/bundle.js $(ESFLAGS) --watch + +frontend/bundle.js: $(shell find frontend -name '*.ts') + esbuild frontend/main.ts --bundle --outfile=frontend/bundle.js $(ESFLAGS) |