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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -