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:
13
netlify.toml
13
netlify.toml
@@ -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.
|
||||
|
Reference in New Issue
Block a user