This commit is contained in:
Ian Gulliver
2024-12-21 07:46:47 -08:00
parent 7ac6cb6743
commit e351828d07

View File

@@ -1,9 +1,14 @@
default: build default: build
compile: compile flags='':
tsc tsc {{flags}}
bundle: bundle flags='':
esbuild js/main.js --bundle --format=esm --platform=browser --target=esnext --sourcemap=inline --outfile=static/app.mjs esbuild js/main.js --bundle --format=esm --platform=browser --target=esnext --sourcemap=inline --outfile=static/app.mjs {{flags}}
build: compile bundle build:
just compile
just bundle
watch:
concurrently "just compile --watch" "just bundle --watch"