1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Implement simple asset versioning task

A task to allow one to define zero or more JSON files and keys to create or update with the current timestamp.

By default, the boilerplate will maintain a './assets.json' file which should be imported by the Web framework and applied to compiled assets.
This commit is contained in:
Chauncey McAskill
2022-10-05 12:57:24 -04:00
parent 8e320f2cd0
commit f8f0a7779c
4 changed files with 114 additions and 3 deletions

View File

@@ -62,6 +62,11 @@
"./www/**/*.html",
"./assets/scripts/**/*"
]
}
},
"versions": [
{
"outfile": "./assets.json"
}
]
}
}