Skip to content

Commit a202cc0

Browse files
lukesandbergclaude
andcommitted
docs: update configuration and advanced topics for Turbopack default
Phase 3: Configuration & Advanced Updates - Update Turbopack config docs to reflect dev default behavior - Update Memory Usage docs to mention --webpack flag requirements - Clarify when Webpack-specific features apply - Update condition matching documentation for new defaults 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent ff3136b commit a202cc0

File tree

1 file changed

+2
-2
lines changed
  • docs/01-app/03-api-reference/05-config/01-next-config-js

1 file changed

+2
-2
lines changed

docs/01-app/03-api-reference/05-config/01-next-config-js/turbopack.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ In addition, a number of built-in conditions are supported:
185185

186186
- `browser`: Matches code that will execute on the client. Server code can be matched using `{not: 'browser'}`.
187187
- `foreign`: Matches code in `node_modules`, as well as some Next.js internals. Usually you'll want to restrict loaders to `{not: 'foreign'}`. This can improve performance by reducing the number of files the loader is invoked on.
188-
- `development`: Matches when using `next dev --turbopack`.
189-
- `production`: Matches when using `next build --turbopack`.
188+
- `development`: Matches when using `next dev`
189+
- `production`: Matches when using `next build`.
190190
- `node`: Matches code that will run on the default Node.js runtime.
191191
- `edge-light`: Matches code that will run on the [Edge runtime](/docs/app/api-reference/edge).
192192

0 commit comments

Comments
 (0)