webpack - how to require a dynamic/runtime module -
we're migrating require js webpack. in our project, able require runtime-based url module (to our signalr proxies - these generated @ runtime) , file downloaded before module requiring fired off. haven't-yet determined how achieve same effect using webpack except unsavory syncrhonous xhr request script, deprecated approach. missing?
so desired effect able have top-most consumer require module internally requires core signalr lib (which normal) , then runtime-based (that url) script module, before running top-most consumer's code.
Comments
Post a Comment