React projects/templates load module dependencies instead of core/lob
As a developer I need to be able to provide component dependencies for my template and only the required files should be loaded instead of core/lob, or dv Webpack configuration
TL;DR: We should probably postpone this and #194 for future updates in the Ignite UI for JS packages.
I've made a test project repo to test out loading modules. Besides the base util requiring some shimming, the standalone module files actually list just "jquery-ui" as AMD dependency which is more geared towards bower+require.js setup and doesn't play well in a webpack scenario. As the npm jQuery UI package doesn't have a single bundle exported that single dependency translates to just "jquery-ui/ui/widget", requiring adding specific other modules depending on the Ignite UI files being loaded which in a way defeats the purpose of loading just modules.
The core and LoB bundle files actually do list "jquery-ui" and "jquery-ui/ui/*" modules dependencies and that's why they've been loading fine in our projects so far and I'm think we should stick with those for now.
I could add util module shims to the project (even as commented out instructions) in case someone wants to give per-module loading a try in the meantime?
// CC @kdinev
@damyanpetev Maybe we can add two separate defines for bower and npm?
There has been no recent activity and this issue has been marked inactive.