Expected behavior
File name client.css with hash like this:
__sapper__/build/client/client-abcdefg.css
Severity
Due to caching of static files, when a new version of the site is released, the user interface is not displayed correctly, users cannot interact with some elements of the site.
Additional context
The problem is related to updating rollup-plugin-css-chunks from 1.2.6 to 2.0.2 in sapper 0.29.0 (https://github.com/sveltejs/sapper/pull/1666).
Since version 2.0.0rollup-plugin-css-chunks has a default value of entryFileNames: '[name].css', before that it was entryFileNames: '[name]-[hash].css'
Describe the bug Sapper version 0.29.0 does not add a hash to the
client.css
file. For other css files the hash is added.To Reproduce
output:
In version 0.28.10 everything is ok.
Expected behavior File name client.css with hash like this:
Severity Due to caching of static files, when a new version of the site is released, the user interface is not displayed correctly, users cannot interact with some elements of the site.
Additional context The problem is related to updating rollup-plugin-css-chunks from
1.2.6
to2.0.2
in sapper0.29.0
(https://github.com/sveltejs/sapper/pull/1666). Since version2.0.0
rollup-plugin-css-chunks
has a default value ofentryFileNames: '[name].css'
, before that it wasentryFileNames: '[name]-[hash].css'