# 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)

#### Login Bundle (25.3M)

#### Header Bundle (20.3M)

#### Measures Dashboard Bundle (12.5M)

#### Active Users Bundle (5.5M)

#### Error to build application
At this point we have a large size bundle and error to build modules.

We also have an error in JSTree to build.

#### 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.


## 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
