{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/460","repository_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-kendoui-bridge","labels_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/460/comments","events_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/460/events","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/460","id":148113548,"number":460,"title":"Instructions for bundling not working","user":{"login":"Tim-Erwin","id":802148,"avatar_url":"https://avatars.githubusercontent.com/u/802148?v=3","gravatar_id":"","url":"https://api.github.com/users/Tim-Erwin","html_url":"https://github.com/Tim-Erwin","followers_url":"https://api.github.com/users/Tim-Erwin/followers","following_url":"https://api.github.com/users/Tim-Erwin/following{/other_user}","gists_url":"https://api.github.com/users/Tim-Erwin/gists{/gist_id}","starred_url":"https://api.github.com/users/Tim-Erwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tim-Erwin/subscriptions","organizations_url":"https://api.github.com/users/Tim-Erwin/orgs","repos_url":"https://api.github.com/users/Tim-Erwin/repos","events_url":"https://api.github.com/users/Tim-Erwin/events{/privacy}","received_events_url":"https://api.github.com/users/Tim-Erwin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-13T16:26:36Z","updated_at":"2016-04-14T12:45:34Z","closed_at":null,"body":"I followed the [instructions for bundling](http://aurelia-ui-toolkits.github.io/demo-kendo/#/help/docs/notes_on_the_bridge/5._on_bundling) in the catalog help. However, I couldn't get it working. I'm only using the grid, so I don't want all the modules to be included. First I tried these includes:\r\n```\r\n        \"aurelia-kendoui-bridge\",\r\n        \"aurelia-kendoui-bridge/grid/*.js\",\r\n        \"aurelia-kendoui-bridge/grid/*.css!text\",\r\n        \"aurelia-kendoui-bridge/grid/*.html!text\",\r\n```\r\nThat included a lot of `kendo.*.min.js` files already, but more were needed. This would be my favorite approach: let the dependencies of the bridge determine the includes.\r\n\r\nNext I tried the \"Bundling via JSPM\" option with\r\n````\r\n\"includes\": [\r\n    \"kendo-ui\",\r\n    \"kendo-ui/**/*.js\"\r\n]\r\n```\r\nThe first line gave me an error because I didn't have a `kendo-ui.js` file. So I simply removed it. However, this option did not include *any* of the kendo files.\r\n\r\nIn the end this include worked for me: `\"kendo.*\",` (By the way, I removed all unneeded files from the directory, so I don't need any excludes.) This works for the .js files, couldn't manage to also include the css files.\r\n\r\nSo, my requests are to fix the instructions and if possible/reasonable to make the single components depend on all kendo.*.min.js files that are actually needed."},"comment":{"url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/comments/209920911","html_url":"https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/460#issuecomment-209920911","issue_url":"https://api.github.com/repos/aurelia-ui-toolkits/aurelia-kendoui-bridge/issues/460","id":209920911,"user":{"login":"JeroenVinke","id":2189477,"avatar_url":"https://avatars.githubusercontent.com/u/2189477?v=3","gravatar_id":"","url":"https://api.github.com/users/JeroenVinke","html_url":"https://github.com/JeroenVinke","followers_url":"https://api.github.com/users/JeroenVinke/followers","following_url":"https://api.github.com/users/JeroenVinke/following{/other_user}","gists_url":"https://api.github.com/users/JeroenVinke/gists{/gist_id}","starred_url":"https://api.github.com/users/JeroenVinke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeroenVinke/subscriptions","organizations_url":"https://api.github.com/users/JeroenVinke/orgs","repos_url":"https://api.github.com/users/JeroenVinke/repos","events_url":"https://api.github.com/users/JeroenVinke/events{/privacy}","received_events_url":"https://api.github.com/users/JeroenVinke/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T12:45:34Z","updated_at":"2016-04-14T12:45:34Z","body":"> In your instructions you have 2 path maggings, the second one being \"kendo-ui/*\": \"vendors/*\". I suppose that is for CSS etc? \r\n\r\nYes, see step 7 of the instructions in which we use the kendo-ui map:\r\n\r\n```\r\n<require from=\"kendo-ui/styles/kendo.common.min.css!\"></require>\r\n<require from=\"kendo-ui/styles/kendo.bootstrap.min.css!\"></require>\r\n```"}}