Commit ea0f516
Update 06-bundle-analyzer.mdx (#64740)
The[ existing code
example](https://nextjs.org/docs/app/building-your-application/optimizing/bundle-analyzer)
generates the following warning when using `--turbo` in the current
latest version of NextJS (14.2.2):
⚠ Webpack is configured while Turbopack is not, which may cause
problems.
⚠ See instructions if you need to configure Turbopack:
https://nextjs.org/docs/app/api-reference/next-config-js/turbo
This modification ensures that the bundle analyzer is only applied when
the user intends to generate a report.
Fixes # #64739
---------
Co-authored-by: Lee Robinson <[email protected]>
Co-authored-by: Maxim Svetlakov <[email protected]>
Co-authored-by: JJ Kasper <[email protected]>1 parent cf038a3 commit ea0f516
File tree
1 file changed
+4
-5
lines changed- docs/02-app/01-building-your-application/06-optimizing
1 file changed
+4
-5
lines changedLines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
0 commit comments