I understand that lets say if we have,
Ext.require([
'Ext.ux.grid.FiltersFeature',
'Ext.toolbar.Paging'
]);
it will translate those entries into some_path/ux/grid/FilterFeature.js etc
but how does
Ext.require([
'Ext.grid.*',
]);
is going to work? it doent know how many js files are below grid/ directory so from client side how can it load them?, is it stuff like lazy loading, i mean if some other file has child js entry it will allow loading?
Thanks
As part of the build process, we generate a "bootstrap" file which contains information about which files exist. So it doesn't query the filesystem, it just asks the bootstrap for everything under Ext.grid
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With