Unverified Commit 4353c8f8 authored by Jam Balaya's avatar Jam Balaya Committed by GitHub

example: typo `yarn` → `next` (#72018)

## Summary
The old analyze command use `yarn build`.
This happens an error with node, pnpm and bun.

### Adding or Updating Examples

- [x] The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- [x] Make sure the linting passes by running `pnpm build && pnpm lint`.
See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md
parent 250370a0
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"dev": "next", "dev": "next",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"analyze": "cross-env ANALYZE=true yarn build", "analyze": "cross-env ANALYZE=true next build",
"serve": "serve .next/analyze" "serve": "serve .next/analyze"
}, },
"dependencies": { "dependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment