Draft: Add bundle analyzer
I started by adding "webpack-bundle-analyzer" and a script i called "analyze" to package.json. I'm still trying to make it work throught BundleAnalyzerPlugin, i've added everything that is supposedly needed on webpack.config, but with no success for now. Also there are some issues i'm facing:
- with the "analyze" script: if i run the commands separately it works, but when i try to do it throught this script it fail in the second command.
- BundleAnalyzer is looking for main.js file inside the build /dist directory, and as it's not being generated, in the preview we only can see the stat bundle (not the parsed and gzipped), it has to be related to the webpack.config, but i'm not sure. i'm still researching.