Use Node for asset building instead of building on the fly every time (feat. minification!)

This commit is contained in:
flash 2023-07-17 14:37:39 +00:00
parent f24f811acc
commit 074e078692
139 changed files with 1639 additions and 185 deletions

1
.browserslistrc Normal file
View file

@ -0,0 +1 @@
last 5 versions, not dead

2
.gitattributes vendored
View file

@ -1,3 +1 @@
* text=auto
/msz text eol=lf
*.sh text eol=lf

4
.gitignore vendored
View file

@ -1,3 +1,7 @@
# Assets
/public/assets
/assets/current.json
# Libraries
/vendor
/node_modules

View file

@ -1,6 +0,0 @@
# Misuzu Assets
Subdirectories of the `css` and `js` folder are accessible through the web as `example.com/assets/<subdirectory>.<directory>`.
Meaning `/assets/js/misuzu` is accessible as `/assets/misuzu.js`.
Files are concatenated recursively, files first then directories in alphabetical order.
Use `_` prefixes to raise things up.