{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/833","repository_url":"https://api.github.com/repos/aurelia/skeleton-navigation","labels_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/833/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/833/comments","events_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/833/events","html_url":"https://github.com/aurelia/skeleton-navigation/issues/833","id":230917844,"number":833,"title":"Getting larger bundle size while building latest webpack with third party libraries","user":{"login":"mariaantony-gnanasekaran","id":23378261,"avatar_url":"https://avatars2.githubusercontent.com/u/23378261?v=3","gravatar_id":"","url":"https://api.github.com/users/mariaantony-gnanasekaran","html_url":"https://github.com/mariaantony-gnanasekaran","followers_url":"https://api.github.com/users/mariaantony-gnanasekaran/followers","following_url":"https://api.github.com/users/mariaantony-gnanasekaran/following{/other_user}","gists_url":"https://api.github.com/users/mariaantony-gnanasekaran/gists{/gist_id}","starred_url":"https://api.github.com/users/mariaantony-gnanasekaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariaantony-gnanasekaran/subscriptions","organizations_url":"https://api.github.com/users/mariaantony-gnanasekaran/orgs","repos_url":"https://api.github.com/users/mariaantony-gnanasekaran/repos","events_url":"https://api.github.com/users/mariaantony-gnanasekaran/events{/privacy}","received_events_url":"https://api.github.com/users/mariaantony-gnanasekaran/received_events","type":"User","site_admin":false},"labels":[{"id":156923818,"url":"https://api.github.com/repos/aurelia/skeleton-navigation/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"niieani","id":563469,"avatar_url":"https://avatars2.githubusercontent.com/u/563469?v=3","gravatar_id":"","url":"https://api.github.com/users/niieani","html_url":"https://github.com/niieani","followers_url":"https://api.github.com/users/niieani/followers","following_url":"https://api.github.com/users/niieani/following{/other_user}","gists_url":"https://api.github.com/users/niieani/gists{/gist_id}","starred_url":"https://api.github.com/users/niieani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niieani/subscriptions","organizations_url":"https://api.github.com/users/niieani/orgs","repos_url":"https://api.github.com/users/niieani/repos","events_url":"https://api.github.com/users/niieani/events{/privacy}","received_events_url":"https://api.github.com/users/niieani/received_events","type":"User","site_admin":false},"assignees":[{"login":"niieani","id":563469,"avatar_url":"https://avatars2.githubusercontent.com/u/563469?v=3","gravatar_id":"","url":"https://api.github.com/users/niieani","html_url":"https://github.com/niieani","followers_url":"https://api.github.com/users/niieani/followers","following_url":"https://api.github.com/users/niieani/following{/other_user}","gists_url":"https://api.github.com/users/niieani/gists{/gist_id}","starred_url":"https://api.github.com/users/niieani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niieani/subscriptions","organizations_url":"https://api.github.com/users/niieani/orgs","repos_url":"https://api.github.com/users/niieani/repos","events_url":"https://api.github.com/users/niieani/events{/privacy}","received_events_url":"https://api.github.com/users/niieani/received_events","type":"User","site_admin":false},{"login":"jods4","id":3832820,"avatar_url":"https://avatars1.githubusercontent.com/u/3832820?v=3","gravatar_id":"","url":"https://api.github.com/users/jods4","html_url":"https://github.com/jods4","followers_url":"https://api.github.com/users/jods4/followers","following_url":"https://api.github.com/users/jods4/following{/other_user}","gists_url":"https://api.github.com/users/jods4/gists{/gist_id}","starred_url":"https://api.github.com/users/jods4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jods4/subscriptions","organizations_url":"https://api.github.com/users/jods4/orgs","repos_url":"https://api.github.com/users/jods4/repos","events_url":"https://api.github.com/users/jods4/events{/privacy}","received_events_url":"https://api.github.com/users/jods4/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-05-24T04:32:29Z","updated_at":"2017-06-01T04:45:42Z","closed_at":null,"body":"<!--\r\nBUGS: Please use this template.\r\n\r\nSUPPORT REQUESTS/QUESTIONS: If you have a support request or question please\r\nsubmit them to StackOverflow using the tag `[aurelia]`\r\nhttp://stackoverflow.com/questions/tagged/aurelia\r\nor the Aurelia Gitter https://gitter.im/aurelia/discuss\r\n\r\nBlue Spire offers paid support agreements. Further information regarding paid support\r\nmay be obtained by emailing support@bluespire.com\r\n\r\nFuture support requests submitted here will be closed.\r\n\r\nThe HTML comments below are for your reference, and are not displayed\r\nwhen your issue is submitted, feel free to leave them.\r\n\r\nChoose one of the two headings, delete the other.\r\n-->\r\n**I'm submitting a bug report**\r\n\r\n* **Aurelia Skeleton Version**\r\n\r\nskeleton-esnext-webpack\r\n\r\n<!-- Delete any skeleton versions this DOES NOT apply to -->\r\n\r\n* **Framework Version:**\r\nMaster branch\r\n\r\n**Please tell us about your environment:**\r\n* **Operating System:**\r\nWindows 10\r\n\r\n* **Node Version:**\r\n6.9.5\r\n<!--\r\nMinimum supported Node version is latest Node 4.x LTS\r\nrun `node -v`\r\n-->\r\n\r\n* **NPM Version:**\r\n4.6.1\r\n<!--\r\nMINIMUM SUPPOERTED NPM VERSION IS 3.x. NPM 2.x WILL NOT WORK.\r\nrun `npm -v`\r\n-->\r\n\r\n* **JSPM OR Webpack AND Version**\r\n webpack 2.2.1\r\n<!--\r\nIf using JSPM\r\nrun `jspm -v`\r\nIf using Webpack\r\nrun `webpack --help | grep webpack`\r\n-->\r\n\r\n* **Browser:**\r\nall\r\n\r\n* **Language:**\r\n ESNext\r\n\r\n\r\n**Current behavior:**\r\n\r\nWhile integrating third party libraries in previous skeleton(1.1.2), I will add resources manually in package.json . so, I will get bundle size based on resources added. But In latest skeleton(master branch), All the resources are added automatically so i am getting larger bundle size.\r\n\r\nPlease find the repo from [here](https://github.com/mariaantony-gnanasekaran/aurelia-skeleton-typescript)\r\n\r\n**Expected/desired behavior:**\r\n\r\nThe bundle should not include all resources\r\n\r\n* **What is the expected behavior?**\r\n\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/comments/305387842","html_url":"https://github.com/aurelia/skeleton-navigation/issues/833#issuecomment-305387842","issue_url":"https://api.github.com/repos/aurelia/skeleton-navigation/issues/833","id":305387842,"user":{"login":"mariaantony-gnanasekaran","id":23378261,"avatar_url":"https://avatars2.githubusercontent.com/u/23378261?v=3","gravatar_id":"","url":"https://api.github.com/users/mariaantony-gnanasekaran","html_url":"https://github.com/mariaantony-gnanasekaran","followers_url":"https://api.github.com/users/mariaantony-gnanasekaran/followers","following_url":"https://api.github.com/users/mariaantony-gnanasekaran/following{/other_user}","gists_url":"https://api.github.com/users/mariaantony-gnanasekaran/gists{/gist_id}","starred_url":"https://api.github.com/users/mariaantony-gnanasekaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariaantony-gnanasekaran/subscriptions","organizations_url":"https://api.github.com/users/mariaantony-gnanasekaran/orgs","repos_url":"https://api.github.com/users/mariaantony-gnanasekaran/repos","events_url":"https://api.github.com/users/mariaantony-gnanasekaran/events{/privacy}","received_events_url":"https://api.github.com/users/mariaantony-gnanasekaran/received_events","type":"User","site_admin":false},"created_at":"2017-06-01T04:45:42Z","updated_at":"2017-06-01T04:45:42Z","body":"Hi @jods4 , Thanks for the reply\r\n\r\nI am using \"aurelia-webpack-plugin\": \"2.0.0-rc.2.\" and skeleton-esnext-webpack from master branch.\r\n \r\n**Current behaviour**\r\n\r\nI am integrating my third party library in main.js as below code snippet \r\n```\r\n    .plugin(PLATFORM.moduleName('aurelia-syncfusion-bridge'));\r\n```\r\nI didn't add any resources manually.But  while bundling Aurelia application,all submodules of aurelia-syncfusion-bridge are added automatically which leads to bigger bundle size.While Inspecting webpack modules,all the resources are bundled like below\r\n\r\n```\r\n./~/syncfusion-javascript/Scripts/ej/datavisualization/ej.barcode.min.js 79.7 kB {1} [built]\r\n [260] ./~/syncfusion-javascript/Scripts/ej/datavisualization/ej.bulletgraph.min.js 138 kB {1} [built]\r\n [261] ./~/syncfusion-javascript/Scripts/ej/datavisualization/ej.digitalgauge.min.js 26.9 kB {1} [built]\r\n [262] ./~/syncfusion-javascript/Scripts/ej/datavisualization/ej.rangenavigator.min.js 164 kB {1} [built]\r\n [263] ./~/syncfusion-javascript/Scripts/ej/datavisualization/ej.sparkline.min.js 41.4 kB {1} [built]\r\n [264] ./~/syncfusion-javascript/Scripts/ej/datavisualization/ej.sunburstchart.min.js 109 kB {1} [built]\r\n [265] ./~/syncfusion-javascript/Scripts/ej/web/ej.accordion.min.js 27.6 kB {1} [built]\r\n [266] ./~/syncfusion-javascript/Scripts/ej/web/ej.calculate.min.js 400 kB {1} [built]\r\n [267] ./~/syncfusion-javascript/Scripts/ej/web/ej.gantt.min.js 538 kB {1} [built]\r\n [268] ./~/syncfusion-javascript/Scripts/ej/web/ej.groupbutton.min.js 16.4 kB {1} [built]\r\n [269] ./~/syncfusion-javascript/Scripts/ej/web/ej.kanban.min.js 237 kB {1} [built]\r\n [270] ./~/syncfusion-javascript/Scripts/ej/web/ej.olap.base.min.js 75 kB {1} [built]\r\n [271] ./~/syncfusion-javascript/Scripts/ej/web/ej.pdfviewer.min.js 262 kB {1} [built]\r\n [272] ./~/syncfusion-javascript/Scripts/ej/web/ej.pivotanalysis.base.min.js 50.3 kB {1} [built]\r\n [273] ./~/syncfusion-javascript/Scripts/ej/web/ej.pivotchart.min.js 101 kB {1} [built]\r\n [274] ./~/syncfusion-javascript/Scripts/ej/web/ej.pivotpager.min.js 13.3 kB {1} [built]\r\n [275] ./~/syncfusion-javascript/Scripts/ej/web/ej.pivottreemap.min.js 26.7 kB {1} [built]\r\n [276] ./~/syncfusion-javascript/Scripts/ej/web/ej.progressbar.min.js 6.74 kB {1} [built]\r\n [277] ./~/syncfusion-javascript/Scripts/ej/web/ej.radialmenu.min.js 26 kB {1} [built]\r\n [278] ./~/syncfusion-javascript/Scripts/ej/web/ej.radialslider.min.js 20.9 kB {1} [built]\r\n [279] ./~/syncfusion-javascript/Scripts/ej/web/ej.rating.min.js 14.6 kB {1} [built]\r\n [280] ./~/syncfusion-javascript/Scripts/ej/web/ej.recurrenceeditor.min.js 48.4 kB {1} [built]\r\n [281] ./~/syncfusion-javascript/Scripts/ej/web/ej.reportviewer.min.js 218 kB {1} [built]\r\n [282] ./~/syncfusion-javascript/Scripts/ej/web/ej.rotator.min.js 47 kB {1} [built]\r\n [283] ./~/syncfusion-javascript/Scripts/ej/web/ej.schedule.min.js 670 kB {1} [built]\r\n [284] ./~/syncfusion-javascript/Scripts/ej/web/ej.signature.min.js 12 kB {1} [built]\r\n [285] ./~/syncfusion-javascript/Scripts/ej/web/ej.spreadsheet.min.js 1.25 MB {1} [built]\r\n [286] ./~/syncfusion-javascript/Scripts/ej/web/ej.tagcloud.min.js 6.89 kB {1} [built]\r\n [287] ./~/syncfusion-javascript/Scripts/ej/web/ej.tile.min.js 21.8 kB {1} [built]\r\n [288] \r\n```\r\nYou can also find complete log file from [here](https://github.com/aurelia/skeleton-navigation/files/1043611/new.webpack.txt)\r\n\r\n\r\n\r\n**Expectation** :\r\n While bundling Aurelia application,submodules of aurelia-syncfusion-bridge should not be included automatically.I have to add it manually either in aurelia.build.resources or in ModuleDependenciesPlugin .so, I will get lighter bundle size.\r\n\r\nNote : In previous skeleton(1.1.2), I will add resources manually in package.json . so, I will get bundle size based on the resources added. \r\n\r\nPlease find my repo from [here](https://github.com/mariaantony-gnanasekaran/aurelia-skeleton-typescript) to reproduce bundling issue.\r\n"}}
{"actor":{"display_login":"mariaantony-gnanasekaran"}}