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)
RollupJS 具有dynamicImportFunction
选项和import
dynamicImportFunction
的示例,这正是我要找的
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.