{"action":"created","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1881","repository_url":"https://api.github.com/repos/jspm/jspm-cli","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1881/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1881/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1881/events","html_url":"https://github.com/jspm/jspm-cli/issues/1881","id":158399781,"number":1881,"title":" Specifiy html files as bundle dependencies","user":{"login":"djflex68","id":6740026,"avatar_url":"https://avatars.githubusercontent.com/u/6740026?v=3","gravatar_id":"","url":"https://api.github.com/users/djflex68","html_url":"https://github.com/djflex68","followers_url":"https://api.github.com/users/djflex68/followers","following_url":"https://api.github.com/users/djflex68/following{/other_user}","gists_url":"https://api.github.com/users/djflex68/gists{/gist_id}","starred_url":"https://api.github.com/users/djflex68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djflex68/subscriptions","organizations_url":"https://api.github.com/users/djflex68/orgs","repos_url":"https://api.github.com/users/djflex68/repos","events_url":"https://api.github.com/users/djflex68/events{/privacy}","received_events_url":"https://api.github.com/users/djflex68/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-03T15:59:17Z","updated_at":"2016-11-12T23:42:56Z","closed_at":"2016-08-21T15:16:36Z","body":"The structure of my app is : \n- app\n  - config.js\n  - main.js\n  - views (html)\n  - viewmodels (.js)\n  - ...\n\nThe underlying SPA framework I use (Durandal) is using a rooter that dynamically loads views and viewmodels when they're navigated to.\nOn production, I'm trying to bundle all files inclusive html files (using text loader plugin). To do that I type :\n`jspm bundle app/main + app/viewmodels/**/*.js + app/views/**/*.html out.js`\n\nAs result, viewmodels (.js) files are correctly integrated into my build, but html files aren't. \nIn config.js, I tried to define into meta variable :\n`\"*.html\": { \"loader\": \"text\" },`\n\nBut this doesn't help. What am I missing ? \nThe only solution I see, would be to create a \"fake\" js file, that requires all html views, but I think it's not the best solution...\n\nThanks for your help\n"},"comment":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/comments/260156196","html_url":"https://github.com/jspm/jspm-cli/issues/1881#issuecomment-260156196","issue_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1881","id":260156196,"user":{"login":"aluanhaddad","id":5034656,"avatar_url":"https://avatars.githubusercontent.com/u/5034656?v=3","gravatar_id":"","url":"https://api.github.com/users/aluanhaddad","html_url":"https://github.com/aluanhaddad","followers_url":"https://api.github.com/users/aluanhaddad/followers","following_url":"https://api.github.com/users/aluanhaddad/following{/other_user}","gists_url":"https://api.github.com/users/aluanhaddad/gists{/gist_id}","starred_url":"https://api.github.com/users/aluanhaddad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluanhaddad/subscriptions","organizations_url":"https://api.github.com/users/aluanhaddad/orgs","repos_url":"https://api.github.com/users/aluanhaddad/repos","events_url":"https://api.github.com/users/aluanhaddad/events{/privacy}","received_events_url":"https://api.github.com/users/aluanhaddad/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T23:42:56Z","updated_at":"2016-11-12T23:42:56Z","body":"Didn't `\"none\"` use to mean no transpiler in old configs? I remember getting this error long time ago because transpiler was set to `\"none\"` instead of `false`.\r\nHave you tried loading your templates with meta config? It would be interesting to see if that makes a difference."}}
{"actor":{"display_login":"aluanhaddad"}}