I’m currently shifting from accessing jqwidgets via a cdn via requirejs to using npm via webpack.
I load the individual jqwidgets controls on an as-needed basis through lazy loading (via runtime require calls).
In requirejs, I used a shim to define the various dependencies between the jqwidgets modules.
For example jqdropdownlist needs jqxlistbox which needs jqxbuttons, etc.
Is there a recommended way to define jqwidgets to npm/webpack so that each module can resolve its dependencies.
Obviously, I could use jqx-all or manually list every dependency everywhere the modules are accessed, but I wanted to ask if there was a cleaner way that people are using first.