mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 18:50:29 -04:00
vendor twemojis before building site and cache them (and ./public)
This commit is contained in:
parent
9b67b1be01
commit
b89920cb40
@ -44,7 +44,7 @@
|
||||
[[plugins]]
|
||||
package = "./plugins/netlify-plugin-cache"
|
||||
[plugins.inputs]
|
||||
paths = ["resources", "_vendor"]
|
||||
paths = ["resources", "public", "_vendor"]
|
||||
[[plugins]]
|
||||
package = "netlify-plugin-debug-cache"
|
||||
|
||||
|
@ -15,10 +15,11 @@
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf public/ resources/ builds/ && hugo mod clean",
|
||||
"build": "run-s hugo minify",
|
||||
"build:preview": "run-s hugo:dev",
|
||||
"build": "run-s hugo:mods hugo minify",
|
||||
"build:preview": "run-s hugo:mods hugo:dev",
|
||||
"hugo": "hugo --gc --cleanDestinationDir --verbose",
|
||||
"hugo:dev": "hugo --environment development --baseURL ${DEPLOY_PRIME_URL:-/} --buildDrafts --buildFuture --gc --cleanDestinationDir --verbose",
|
||||
"hugo:mods": "hugo mod vendor",
|
||||
"start": "hugo server --disableFastRender --buildDrafts --buildFuture --port 1337 --bind 0.0.0.0 --verbose",
|
||||
"start:docker": "docker run --rm -v $(pwd):/src -p 1337:1337 $(docker build --no-cache -q .)",
|
||||
"minify": "run-s minify:**",
|
||||
|
Loading…
x
Reference in New Issue
Block a user