Dear Telerik Developers,
I've made a grunt task that collects all my javascript files and calculates it's dependencies according to the YUIDoc output which works great. I'm building an IDE upon Kendo and for now I'm including "kendo.all" in my minified version but that kills my browser (the minified version is 2.3 MB). So I want to include only the components of Kendo that I use, but then I'm running into the problem that my grunt task collides with the AMD usage of Kendo itself. The solution would be to remove the first three lines in every file in "src/js":
(function(f, define){
define([ "./kendo.core" ], f);
})(function(){
Or the define needs a name translation as requirejs provides it the "paths" section. If the "./" is not ommited it could make a difference (I think) but testing that would require a lot of work with a huge possibility that it would fail.
Could someone give me a solution or a tip how to resolve this?
I've made a grunt task that collects all my javascript files and calculates it's dependencies according to the YUIDoc output which works great. I'm building an IDE upon Kendo and for now I'm including "kendo.all" in my minified version but that kills my browser (the minified version is 2.3 MB). So I want to include only the components of Kendo that I use, but then I'm running into the problem that my grunt task collides with the AMD usage of Kendo itself. The solution would be to remove the first three lines in every file in "src/js":
(function(f, define){
define([ "./kendo.core" ], f);
})(function(){
Or the define needs a name translation as requirejs provides it the "paths" section. If the "./" is not ommited it could make a difference (I think) but testing that would require a lot of work with a huge possibility that it would fail.
Could someone give me a solution or a tip how to resolve this?