1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-18 22:05:29 -04:00

cleaning up the netlify plugin

didn't actually try just passing an array of dirs to Netlify plugin, and now only saving cache if build successful

[skip ci]
This commit is contained in:
2020-06-05 19:47:27 -04:00
parent eafbf87f49
commit fd06f71df4
4 changed files with 32 additions and 29 deletions

View File

@@ -39,14 +39,13 @@
# Cache resoures between builds, see plugins/netlify-plugin-cache/index.js
[[plugins]]
package = "/plugins/netlify-plugin-cache"
package = "./plugins/netlify-plugin-cache"
[plugins.inputs]
# TODO: make this better.
paths = "[\"resources\", \"_vendor\"]"
[[plugins]]
package = "netlify-plugin-debug-cache"
[[plugins]]
package = "@netlify/plugin-local-install-core"
paths = ["resources", "_vendor"]
# [[plugins]]
# package = "netlify-plugin-debug-cache"
# [[plugins]]
# package = "@netlify/plugin-local-install-core"
# The most important headers and redirects are specified in the _headers and
# _redirects files generated by Hugo. These are additional custom rules.