Michael Brown March 27 2016 07:14:36 PMFrom my Github account. I've set up a boilerplate repository that shows how to use the KendoUI Pro widget system with Webpack module loader and ES6 modules.
I discovered that Kendo is AMD compliant. So my aim was to try and reduce the page load times by avoiding a full load of Kendo, which is 2.5 meg (900kb gzipped) for the file kendo.all.min.js! By using Webpack to load up only the Kendo modules that I needed for my demo, I was able to reduce that to a single file of 900kb minified (300kb gzipped).
- Break your code into manageable chunks, but without...
- ... having to manage a boat load of script tags on your HTML pages. This includes avoiding any mutual dependency, infinite loop type problems.
- Banish global variables and having all your functions in global scope.
- Comments