rsnext/examples/analyze-bundles
2021-01-19 07:28:54 +00:00
..
pages chore: Remove react redundant imports on examples (#13169) 2020-05-22 17:37:09 +02:00
.gitignore Added .gitignore to examples that are deployed to vercel (#15127) 2020-07-16 10:52:23 -04:00
next.config.js Update example analyze bundles (#9645) 2019-12-07 15:33:08 +01:00
package.json chore: update example names to match their folders (#16268) 2020-09-05 21:23:51 +00:00
README.md Include utm_source on example links to vercel.com (#21305) 2021-01-19 07:28:54 +00:00

Analyzer Bundles example

This example shows how to analyze the output bundles using @next/bundle-analyzer

Deploy your own

Deploy the example using Vercel:

Deploy with Vercel

How to use

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

npx create-next-app --example analyze-bundles analyze-bundles-app
# or
yarn create next-app --example analyze-bundles analyze-bundles-app

Analyze webpack output

To analyze your webpack output, invoke the following command:

npm run analyze
# or
yarn analyze