You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want Cloudflare to cache CSS, JS, and images from the site.
This currently works for JS because of the cache busting contenthash filename: '[name].[contenthash:8].iframe.bundle.js', in the default storybook webpack settings.
Describe the bug
I want Cloudflare to cache CSS, JS, and images from the site.
This currently works for JS because of the cache busting contenthash
filename: '[name].[contenthash:8].iframe.bundle.js',
in the default storybook webpack settings.Other resources are similarly cached
However, CSS does not have the contenthash added into the MiniCssExtractPlugin filename.
This means that when I update the CSS used by my storybook - it does not update and instead uses the outdated cached version of
main.css
.Please update the default MiniCssExtractPlugin settings to use something like
Reproduction link
Can't reproduce easily due to Cloudflare caching dependency
Reproduction steps
main.css
System
Additional context
I am currently fixing this by manually modifying the webpack config
The text was updated successfully, but these errors were encountered: