It was decided to add AMD wrappers to original sources, so that original sources themselves can be loaded with RequireJS. I personally voted against this, because it badly complicates the build scripts, but still it was done and it's here to stay.
One possibility would be to use our own build script to get minified code for only components that you use. Please see kendo-meta.js
from Kendo UI Core. That's used in our Grunt task
Kendo-meta can be used separately, for instance if you clone the kendo-ui-core
repo and run npm install, the following should work:
node build/kendo-meta.js --full --all-deps --min kendo.menu.js kendo.window.js
and it outputs the complete code required to use just the Menu and Window widgets.
Alternatively, you can try using RequireJS's optimizer
. That should work, but we didn't test it and we can't officially support it.
Hope this helps.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI