From f790f2a94f1da6f81d12b88c4161683103d80c55 Mon Sep 17 00:00:00 2001 From: Volker Schukai <volker.schukai@schukai.com> Date: Wed, 20 Nov 2024 14:48:26 +0100 Subject: [PATCH] doc: update readme #9 --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5400576..c7e626c 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,17 @@ in the project. This is created with `go mod vendor`. #### JavaScript -##### generate +##### Generate + +```bash +bob javascript generate --input ./input/ +``` + +If you want to disable the minification, you can use the `--development` flag. + +```bash +bob javascript generate --input ./input/ --development +``` Bob can use **ESBuild** to transform JavaScript code directly from an HTML file. For this, the relevant `<script>` tags must include specific attributes. -- GitLab