# Bizlaine Freelas - Webpack-problem ###### tags: `Report` `Webpack-problem` :::info :calendar: **Started:** 23rd of march. ::: ## :memo: Planned ### 1: Informations needed - [x] zip of project ### 2: Proposal for task - [x] Project analyse - [x] Store bundle development time - [x] Generate node_modules map to see what is weighting - [x] Find by desnecessary modules - [x] Find by desnecessary imports - [x] Optimize bundle size - [x] Store new bundle development time to compare results ## Attachments ### Screenshot initial development time to compile #### All bundles (63.6M) ![](https://i.imgur.com/g1zSboq.png) #### Login Bundle (25.3M) ![](https://i.imgur.com/IEF0bfQ.png) #### Header Bundle (20.3M) ![](https://i.imgur.com/9XATMCT.png) #### Measures Dashboard Bundle (12.5M) ![](https://i.imgur.com/2HIwvUA.png) #### Active Users Bundle (5.5M) ![](https://i.imgur.com/MVsknyw.png) #### Error to build application At this point we have a large size bundle and error to build modules. ![](https://i.imgur.com/OSlcYT5.png) We also have an error in JSTree to build. ![](https://i.imgur.com/OaXzDEw.png) #### Errors fixed and doing first build with successful At this point, I exclude some pacakges and reorganize dependencies and dev dependencies. I can achive 907ms of time to build and 954 to start `dev-server`, but this time not is reald for while, beacause I forgot to keep some configuration in webpack. ![](https://i.imgur.com/eVK8KF3.png) ![](https://i.imgur.com/UXOo0tO.png) ## Benefits Old size: :::danger **63,6 Mb** ::: Actual size: :::info **0,0446208 Mb** ::: Size gained :::success **-63,5553792 Mb** ::: ## Reunions - [Frontend startup] with Gui and Pedro: 23/03 50min. - [Meeting about webpack otimization] with Guilherme and Lucas: 27/03 45min. ## Delivered - [x] Zip with final configurations. ## Timesheet ![](https://i.imgur.com/BUOK1v3.png)