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 all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
jsconfig all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
page Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
postpub all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
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 Add custom font support to images.Text 2021-12-07 16:53:02 +01:00
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 Fix MediaType when reading images from cache 2022-04-16 16:36:15 +02:00
image_extended_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
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 Add basic "post resource publish support" 2020-04-07 21:59:20 +02:00
resource.go Add resources.Copy 2022-05-25 10:35:31 +02:00
resource_cache.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_cache_test.go Improve the server assets cache invalidation logic 2019-08-13 18:09:46 +02:00
resource_metadata.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
resource_metadata_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_spec.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
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