{"action":"opened","issue":{"url":"https://api.github.com/repos/mdbootstrap/Angular-Bootstrap-with-Material-Design/issues/86","repository_url":"https://api.github.com/repos/mdbootstrap/Angular-Bootstrap-with-Material-Design","labels_url":"https://api.github.com/repos/mdbootstrap/Angular-Bootstrap-with-Material-Design/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/mdbootstrap/Angular-Bootstrap-with-Material-Design/issues/86/comments","events_url":"https://api.github.com/repos/mdbootstrap/Angular-Bootstrap-with-Material-Design/issues/86/events","html_url":"https://github.com/mdbootstrap/Angular-Bootstrap-with-Material-Design/issues/86","id":341915061,"node_id":"MDU6SXNzdWUzNDE5MTUwNjE=","number":86,"title":"6.2.0 bloats by 500 KB compared to 6.1.6","user":{"login":"Stardraw","id":995860,"node_id":"MDQ6VXNlcjk5NTg2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/995860?v=4","gravatar_id":"","url":"https://api.github.com/users/Stardraw","html_url":"https://github.com/Stardraw","followers_url":"https://api.github.com/users/Stardraw/followers","following_url":"https://api.github.com/users/Stardraw/following{/other_user}","gists_url":"https://api.github.com/users/Stardraw/gists{/gist_id}","starred_url":"https://api.github.com/users/Stardraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stardraw/subscriptions","organizations_url":"https://api.github.com/users/Stardraw/orgs","repos_url":"https://api.github.com/users/Stardraw/repos","events_url":"https://api.github.com/users/Stardraw/events{/privacy}","received_events_url":"https://api.github.com/users/Stardraw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T13:17:05Z","updated_at":"2018-07-17T13:17:05Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior\r\nNo significant increase in built code\r\n### Actual behavior\r\nOutput size increased from by 500KB\r\n### Your working environment and MDB version information\r\nAngular CLI: 6.0.8\r\nNode: 10.1.0\r\nOS: win32 x64\r\nAngular: 6.0.9\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.6.8\r\n@angular-devkit/build-angular     0.6.8\r\n@angular-devkit/build-optimizer   0.6.8\r\n@angular-devkit/core              0.6.8\r\n@angular-devkit/schematics        0.6.8\r\n@angular/cdk                      6.4.0\r\n@angular/cli                      6.0.8\r\n@angular/material                 6.4.0\r\n@ngtools/webpack                  6.0.8\r\n@schematics/angular               0.6.8\r\n@schematics/update                0.6.8\r\nrxjs                              6.2.2\r\ntypescript                        2.7.2\r\nwebpack                           4.8.3\r\n\r\nBefore: angular-bootstrap-md@6.1.6\r\nchunk {scripts} scripts.js (scripts) 22.7 kB  [rendered]\r\nchunk {0} runtime.js (runtime) 1.05 kB [entry] [rendered]\r\nchunk {1} styles.css (styles) 75.7 kB [initial] [rendered]\r\nchunk {2} polyfills.js (polyfills) 98.2 kB [initial] [rendered]\r\nchunk {3} main.js (main) 1.53 MB [initial] [rendered]\r\n\r\nAfter: angular-bootstrap-md@6.2.0\r\nchunk {scripts} scripts.js (scripts) 22.7 kB  [rendered]\r\nchunk {0} runtime.js (runtime) 1.05 kB [entry] [rendered]\r\nchunk {1} styles.css (styles) 75.7 kB [initial] [rendered]\r\nchunk {2} polyfills.js (polyfills) 98.2 kB [initial] [rendered]\r\nchunk {3} main.js (main) 2.02 MB [initial] [rendered]\r\n\r\n### Resources (screenshots, code snippets etc.)\r\nI suspect it may have to do with the fact that chart.js is now a required package and is not a dependency.\r\nWhen I initially updated, I could not build:\r\nERROR in ./node_modules/angular-bootstrap-md/esm5/angular-bootstrap-md.es5.js\r\nModule not found: Error: Can't resolve 'chart.js' in 'c:\\Stardraw\\sdo2\\node_modules\\angular-bootstrap-md\\esm5'\r\nERROR in chunk main [initial]\r\n[name].js\r\nc:\\Stardraw\\sdo2\\node_modules\\@angular-devkit\\build-optimizer\\src\\build-optimizer\\webpack-loader.js??ref--17-0!c:\\Stardraw\\sdo2\\node_modules\\@ngtools\\webpack\\src\\index.js!c:\\Stardraw\\sdo2\\src\\main.ts eb82ee2210fc092975280de215baf3ce\r\nUnexpected token (3086:19)\r\n|             options: options\r\n|         };\r\n|         return new !(function webpackMissingModule() { var e = new Error(\"Cannot find module \\\"chart.js\\\"\"); e.code = 'MODULE_NOT_FOUND'; throw e; }())(ctx, opts);\r\n|     };\r\n|     /**\r\n\r\nI had to manually install chart.js - even though I don't use it.\r\nIt then built ok but increased main.js from 1.53MB to 2.02MB\r\nOf course, this is my own project but all that was changed was the version number of mdbootstrap."}}
{"actor":{"display_login":"Stardraw"}}