简体   繁体   中英

Is there a javascript bundler that supports custom runtime loading?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM