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 # https://github.com/vercel/next.js/issues/64739 --------- Co-authored-by:Lee Robinson <me@leerob.io> Co-authored-by:
Maxim Svetlakov <maxim@ebookapplications.com> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
Showing
Please
register
or
sign in
to comment