{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/238","repository_url":"https://api.github.com/repos/driftyco/ionic-app-scripts","labels_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/238/comments","events_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/238/events","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/238","id":185143170,"number":238,"title":"Enhancement: Allow for multiple entries in our webpack config","user":{"login":"Luchillo","id":9698639,"avatar_url":"https://avatars.githubusercontent.com/u/9698639?v=3","gravatar_id":"","url":"https://api.github.com/users/Luchillo","html_url":"https://github.com/Luchillo","followers_url":"https://api.github.com/users/Luchillo/followers","following_url":"https://api.github.com/users/Luchillo/following{/other_user}","gists_url":"https://api.github.com/users/Luchillo/gists{/gist_id}","starred_url":"https://api.github.com/users/Luchillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Luchillo/subscriptions","organizations_url":"https://api.github.com/users/Luchillo/orgs","repos_url":"https://api.github.com/users/Luchillo/repos","events_url":"https://api.github.com/users/Luchillo/events{/privacy}","received_events_url":"https://api.github.com/users/Luchillo/received_events","type":"User","site_admin":false},"labels":[{"id":439383357,"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false},"assignees":[{"login":"danbucholtz","id":4680488,"avatar_url":"https://avatars.githubusercontent.com/u/4680488?v=3","gravatar_id":"","url":"https://api.github.com/users/danbucholtz","html_url":"https://github.com/danbucholtz","followers_url":"https://api.github.com/users/danbucholtz/followers","following_url":"https://api.github.com/users/danbucholtz/following{/other_user}","gists_url":"https://api.github.com/users/danbucholtz/gists{/gist_id}","starred_url":"https://api.github.com/users/danbucholtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danbucholtz/subscriptions","organizations_url":"https://api.github.com/users/danbucholtz/orgs","repos_url":"https://api.github.com/users/danbucholtz/repos","events_url":"https://api.github.com/users/danbucholtz/events{/privacy}","received_events_url":"https://api.github.com/users/danbucholtz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-10-25T14:59:07Z","updated_at":"2016-11-13T10:46:59Z","closed_at":null,"body":"#### Short description of the problem:\n\nIn webpack 1 & 2 you could just specify multiple entry points to be processed like this:\n\n``` ts\nentry: {\n\n      'polyfills': './src/polyfills.browser.ts',\n      'vendor': './src/vendor.browser.ts',\n      'main': './src/main.dev.ts'\n\n},\n```\n\nHowever the output with `ionic-app-scripts@beta` is the following:\n\n![image](https://cloud.githubusercontent.com/assets/9698639/19689902/7ffde2b0-9a94-11e6-80af-a3c01b14c584.png)\n#### What behavior are you expecting?\n\nI expect webpack to let me specify multiple entry points and produce multiple output files.\n\n**Steps to reproduce:**\n1. Create new project as `ionic start buildTest sidemenu --v2 --ts` with `ionic@2.1.4` cli installed.\n2. Update to `@ionic/app-scripts@0.0.37` for webpack support.\n3. Copy the webpack basic config with command `mkdir config && cp node_modules/@ionic/app-scripts/config/webpack.config.js config/`.\n4. Add webpack config to package.json config as specified here: [ionic-app-scripts#npm-config](https://github.com/driftyco/ionic-app-scripts#npm-config) [ionic-app-scripts#overriding-config-files](https://github.com/driftyco/ionic-app-scripts#overriding-config-files)\n4. Edit `config/webpack.config.js` entry property to the presumably equivalent one like this:\n\n``` ts\nentry: {\n    'main': getEntryPoint()\n},\n```\n\n**Which @ionic/app-scripts version are you using?**\nUsing `@ionic/app-scripts@0.0.37` with custom webpack config.\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/comments/260178552","html_url":"https://github.com/driftyco/ionic-app-scripts/issues/238#issuecomment-260178552","issue_url":"https://api.github.com/repos/driftyco/ionic-app-scripts/issues/238","id":260178552,"user":{"login":"mashaly100200","id":6259704,"avatar_url":"https://avatars.githubusercontent.com/u/6259704?v=3","gravatar_id":"","url":"https://api.github.com/users/mashaly100200","html_url":"https://github.com/mashaly100200","followers_url":"https://api.github.com/users/mashaly100200/followers","following_url":"https://api.github.com/users/mashaly100200/following{/other_user}","gists_url":"https://api.github.com/users/mashaly100200/gists{/gist_id}","starred_url":"https://api.github.com/users/mashaly100200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mashaly100200/subscriptions","organizations_url":"https://api.github.com/users/mashaly100200/orgs","repos_url":"https://api.github.com/users/mashaly100200/repos","events_url":"https://api.github.com/users/mashaly100200/events{/privacy}","received_events_url":"https://api.github.com/users/mashaly100200/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T10:46:59Z","updated_at":"2016-11-13T10:46:59Z","body":"Dear @danbucholtz ,\r\nBefore  using  rollup it was easy to deal with multiple entries in webpack , kindly gave us a simple solution to avoid replace file path with ionic-app-scripts  if we use custom webpack.config.js ,\r\ncos it's easy to config paths in our webpack.config.js .\r\n\r\n\r\nwhy multiple entries is important ?\r\n- with hybrid application i can update my application without upload new app versions to the app store or market. it's like IBM MobileFirst direct update\r\nhttp://www.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.dev.doc/admin/c_direct_updates_app_versions_to_mob.html\r\n\r\n\r\ni have finished a mobile server which can do direct update like MobileFirst server,\r\nso i need to split javascript code to two files , one for my application code and the other for all third party library like (ionic-angular ......) ,to help me to update my code only it will be more fast than update all javascipt code.\r\n\r\nif ionic team think to include direct update technic and mobile server services , it will be my pleasure to work with ionic team.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"mashaly100200"}}