rsnext/examples/with-webpack-bundle-size-analyzer/README.md
NorbertLuszkiewicz c03d4931de
Simplify example usage instructions (#16678)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-08-29 22:22:02 -04:00

767 B

Webpack Bundle Size Analyzer

This example shows how to analyze the output bundles using webpack-bundle-size-analyzer

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-webpack-bundle-size-analyzer with-webpack-bundle-size-analyzer-app
# or
yarn create next-app --example with-webpack-bundle-size-analyzer with-webpack-bundle-size-analyzer-app

Notes

To analyze your webpack output, invoke the following command:

npm run analyze
# or
yarn analyze