Analyze Webpack Bundle Size

  • Install source-map-explorer with yarn add source-map-explorer.
  • Run the build command for your website.
  • run source-map-explorer ${path_to_dir}/*.{file_type} to see an analysis of file size.