epic: first try at adding a backend

This commit is contained in:
2023-10-27 12:14:12 +02:00
parent 0a5c6c5618
commit 9a5b467ab0
114 changed files with 2167 additions and 35 deletions
-13
View File
@@ -1,13 +0,0 @@
#!/bin/bash
echo "Compiling all LESS files to CSS"
function compile_less() {
FROM=$1
TO=${FROM/.*/.css}
SOURCE_MAP=${FROM/.*/.css.map}
echo "$FROM --> $TO & $SOURCE_MAP"
node_modules/less/bin/lessc "$FROM" "$TO" --source-map="$SOURCE_MAP"
}
export -f compile_less
find src -type f -name '*.less' -exec bash -c 'compile_less $1' shell {} \;