I am using custom compression for my assets and would like to use some modern web bundler (webpack, rollup, parcel, etc.) I am implementing both server side and client side, but I couldn't find how to implement runtime transformation when fetching assets in any of those projects.
Is there a simple way to do it in one of those projects or maybe some other tool for this?
(simple = part of the project's design, not some service-workers' hack)