Use Node for asset building instead of building on the fly every time (feat. minification!)
This commit is contained in:
parent
f24f811acc
commit
074e078692
139 changed files with 1639 additions and 185 deletions
1
.browserslistrc
Normal file
1
.browserslistrc
Normal file
|
@ -0,0 +1 @@
|
|||
last 5 versions, not dead
|
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1,3 +1 @@
|
|||
* text=auto
|
||||
/msz text eol=lf
|
||||
*.sh text eol=lf
|
||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,3 +1,7 @@
|
|||
# Assets
|
||||
/public/assets
|
||||
/assets/current.json
|
||||
|
||||
# Libraries
|
||||
/vendor
|
||||
/node_modules
|
||||
|
|
|
@ -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.
|