mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 08:05:31 -04:00
add empty manifest.json so Hugo doesn't fail when it isn't populated yet
This commit is contained in:
@@ -76,15 +76,13 @@ function clean() {
|
||||
"builds/",
|
||||
"_vendor/",
|
||||
"static/assets/",
|
||||
"data/manifest.json",
|
||||
"api/**/*.js*",
|
||||
]);
|
||||
}
|
||||
|
||||
// run a locally installed (i.e. ./node_modules/.bin/foo) binary, similar to a package.json script
|
||||
function npx(bin, options) {
|
||||
function npx(bin, args) {
|
||||
// WARNING: MAJOR HACKS AHEAD:
|
||||
const cmd = `${bin} ${options ? options.join(" ") : ""}`.trim();
|
||||
const cmd = `${bin} ${args ? args.join(" ") : ""}`.trim();
|
||||
return execa(cmd, {
|
||||
preferLocal: true,
|
||||
shell: true,
|
||||
|
Reference in New Issue
Block a user