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
{{ message }}
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
Rollup now has an augmentChunkHash hook for plugins, read more →
The idea is, rollup-plugin-terser could augment the hashes when it's being used, or even when it's own settings change and affect the output of those chunks.
This would prevent scenarios like the one I had tonight, where my chunks' hashes were not changing even though I was experimenting with Rollup's config, enabling and disabling rollup-plugin-terser and some of it's settings, and thus also affecting the output content.
This behavior combined with those chunks being served with some pretty long lasting caching headers and... it took me a while to figure out why things weren't working as expected.
The text was updated successfully, but these errors were encountered:
Rollup now has an
augmentChunkHash
hook for plugins, read more →The idea is,
rollup-plugin-terser
could augment the hashes when it's being used, or even when it's own settings change and affect the output of those chunks.This would prevent scenarios like the one I had tonight, where my chunks' hashes were not changing even though I was experimenting with Rollup's config, enabling and disabling
rollup-plugin-terser
and some of it's settings, and thus also affecting the output content.This behavior combined with those chunks being served with some pretty long lasting caching headers and... it took me a while to figure out why things weren't working as expected.
The text was updated successfully, but these errors were encountered: