diff options
| author | Marin Ivanov <[email protected]> | 2024-08-21 02:38:07 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2024-08-21 02:38:07 +0300 |
| commit | 3ea3e8694dca23910c10552d24d804b344f7adb9 (patch) | |
| tree | f8f9d464a0fae695cfd23305ed76ece6fe8436d2 | |
| parent | 51dc545d5c6e9dc3846d735c7766277b689f5f6e (diff) | |
makefile for js and css minification
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Makefile | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..731d6ff --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/main.js +/main.css diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cc377ac --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +all: main.js main.css + +main.js: ka.js app.js + cat $? | esbuild --minify --loader=js > $@ + +main.css: style.css + cat $? | esbuild --minify --loader=css > $@ + |
