rsnext/examples/with-webpack-bundle-size-analyzer
2020-08-29 22:32:35 -04:00
..
pages Update Examples for Fast Refresh (#13068) 2020-05-18 17:44:18 -04:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
next.config.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
package.json Ensure all examples are MIT licensed (#16691) 2020-08-29 22:32:35 -04:00
README.md Simplify example usage instructions (#16678) 2020-08-29 22:22:02 -04:00

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