{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/cli/issues/125","labels_url":"https://api.github.com/repos/aurelia/cli/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/cli/issues/125/comments","events_url":"https://api.github.com/repos/aurelia/cli/issues/125/events","html_url":"https://github.com/aurelia/cli/issues/125","id":92821539,"number":125,"title":"Using different bundles for different use cases.","user":{"login":"kuechlerm","id":786160,"avatar_url":"https://avatars.githubusercontent.com/u/786160?v=3","gravatar_id":"","url":"https://api.github.com/users/kuechlerm","html_url":"https://github.com/kuechlerm","followers_url":"https://api.github.com/users/kuechlerm/followers","following_url":"https://api.github.com/users/kuechlerm/following{/other_user}","gists_url":"https://api.github.com/users/kuechlerm/gists{/gist_id}","starred_url":"https://api.github.com/users/kuechlerm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuechlerm/subscriptions","organizations_url":"https://api.github.com/users/kuechlerm/orgs","repos_url":"https://api.github.com/users/kuechlerm/repos","events_url":"https://api.github.com/users/kuechlerm/events{/privacy}","received_events_url":"https://api.github.com/users/kuechlerm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-03T08:26:13Z","updated_at":"2015-07-08T15:28:16Z","closed_at":null,"body":"I want to use a bundle for development with all aurelia files, but without my app files, so I dont have to re-bundle after every change.\r\nIn addition to that, I want to have a deployment bundle with all files included.\r\n\r\nHow can I configure and use that?"},"comment":{"url":"https://api.github.com/repos/aurelia/cli/issues/comments/119625335","html_url":"https://github.com/aurelia/cli/issues/125#issuecomment-119625335","issue_url":"https://api.github.com/repos/aurelia/cli/issues/125","id":119625335,"user":{"login":"kuechlerm","id":786160,"avatar_url":"https://avatars.githubusercontent.com/u/786160?v=3","gravatar_id":"","url":"https://api.github.com/users/kuechlerm","html_url":"https://github.com/kuechlerm","followers_url":"https://api.github.com/users/kuechlerm/followers","following_url":"https://api.github.com/users/kuechlerm/following{/other_user}","gists_url":"https://api.github.com/users/kuechlerm/gists{/gist_id}","starred_url":"https://api.github.com/users/kuechlerm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuechlerm/subscriptions","organizations_url":"https://api.github.com/users/kuechlerm/orgs","repos_url":"https://api.github.com/users/kuechlerm/repos","events_url":"https://api.github.com/users/kuechlerm/events{/privacy}","received_events_url":"https://api.github.com/users/kuechlerm/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T15:28:16Z","updated_at":"2015-07-08T15:28:16Z","body":"@CharlesPockert, I know that this is an option, but I still don't know how to use that in my workflow. This creates two bundles, say:\r\n- libs.js (all of aurelia)\r\n- app.js (all my files)\r\n\r\nIn a dev setting, I dont want to use app.js, only libs.js. But in a deployment setting, I want both files (or even better, one file with all content).\r\nNow I need two different index.html files or some concat-action into some theRealFileForIndexHtml.js, or some other hacking. And I cannot inject the bundle into config.js.\r\n\r\nBut what I really like to do is:\r\n`gulp deploy`\r\nand this calls some thoretical api \r\n`aurelia-cli.useBundle('bundle-number-two')`\r\nthat puts the disired bundle into the config.js.\r\n\r\nSounds reasonable?"}}