{"action":"created","issue":{"url":"https://api.github.com/repos/ibm-js/deliteful/issues/560","labels_url":"https://api.github.com/repos/ibm-js/deliteful/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/ibm-js/deliteful/issues/560/comments","events_url":"https://api.github.com/repos/ibm-js/deliteful/issues/560/events","html_url":"https://github.com/ibm-js/deliteful/issues/560","id":72382286,"number":560,"title":"Dijit templates missing from build layer","user":{"login":"kgibb","id":12196391,"avatar_url":"https://avatars.githubusercontent.com/u/12196391?v=3","gravatar_id":"","url":"https://api.github.com/users/kgibb","html_url":"https://github.com/kgibb","followers_url":"https://api.github.com/users/kgibb/followers","following_url":"https://api.github.com/users/kgibb/following{/other_user}","gists_url":"https://api.github.com/users/kgibb/gists{/gist_id}","starred_url":"https://api.github.com/users/kgibb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgibb/subscriptions","organizations_url":"https://api.github.com/users/kgibb/orgs","repos_url":"https://api.github.com/users/kgibb/repos","events_url":"https://api.github.com/users/kgibb/events{/privacy}","received_events_url":"https://api.github.com/users/kgibb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-01T08:19:51Z","updated_at":"2015-05-01T08:42:26Z","closed_at":null,"body":"Dijit templates are not getting inlined during the build process. My project contains some custom dojo widgets. The JS gets included in the layer and the CSS is loaded via the requirejs-dplugins/css plugin so it gets included into layer.css. However the templates do not get included. I can manually append the templates to the layer and modify dojo/text but it's hacky. Any ideas? I don't want to rewrite these controls. "},"comment":{"url":"https://api.github.com/repos/ibm-js/deliteful/issues/comments/98077941","html_url":"https://github.com/ibm-js/deliteful/issues/560#issuecomment-98077941","issue_url":"https://api.github.com/repos/ibm-js/deliteful/issues/560","id":98077941,"user":{"login":"wkeese","id":69599,"avatar_url":"https://avatars.githubusercontent.com/u/69599?v=3","gravatar_id":"","url":"https://api.github.com/users/wkeese","html_url":"https://github.com/wkeese","followers_url":"https://api.github.com/users/wkeese/followers","following_url":"https://api.github.com/users/wkeese/following{/other_user}","gists_url":"https://api.github.com/users/wkeese/gists{/gist_id}","starred_url":"https://api.github.com/users/wkeese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkeese/subscriptions","organizations_url":"https://api.github.com/users/wkeese/orgs","repos_url":"https://api.github.com/users/wkeese/repos","events_url":"https://api.github.com/users/wkeese/events{/privacy}","received_events_url":"https://api.github.com/users/wkeese/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T08:42:26Z","updated_at":"2015-05-01T08:42:26Z","body":"PS: Probably though the problem is [dojo/text](https://github.com/dojo/dojo/blob/master/text.js), since AFAICT it's not written to spec.  It doesn't have a [`write()`](http://requirejs.org/docs/plugins.html#apiwrite) method.\r\n\r\nIt sounds like you have a hacky workaround already.  Another idea is to [map](http://requirejs.org/docs/api.html#config-map) dojo/text to the standard requirejs-text/text.  I haven't tried that though; not sure if the builder is smart enough to understand the remap."}}