hugo/resources
Bjørn Erik Pedersen 46a2ea6d0d postcss: Make the resource cache key more stable
By using the input map as the basis, which means the hash will not change if we add/rename/remove options.

This happened in Hugo 0.99, as we added a new options. This is unortunate.

Unfortunately this means that the cache keys for PostCSS will change one more time in 0.100, but will be stable going forward.

Note that we have implemented this pattern in all the other resource transformers.

Updates #9787
2022-05-27 18:38:44 +02:00
..
images Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
internal
jsconfig
page Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
postpub
resource Add resources.Copy 2022-05-25 10:35:31 +02:00
resource_factories Add resources.Copy 2022-05-25 10:35:31 +02:00
resource_transformers postcss: Make the resource cache key more stable 2022-05-27 18:38:44 +02:00
testdata
errorResource.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
image.go Add resources.Copy 2022-05-25 10:35:31 +02:00
image_cache.go
image_extended_test.go
image_test.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
integration_test.go resources: Improve error message on .Resize etc. on SVGs 2022-05-25 18:06:20 +02:00
post_publish.go
resource.go Add resources.Copy 2022-05-25 10:35:31 +02:00
resource_cache.go
resource_cache_test.go
resource_metadata.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
resource_metadata_test.go
resource_spec.go
resource_test.go
testhelpers_test.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
transform.go resources: Improve error message on .Resize etc. on SVGs 2022-05-25 18:06:20 +02:00
transform_test.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00