Skip to content

Conversation

@jwueller
Copy link

Accepts a regular expression under the query key in turbopack conditions. An updated example has been added to the documentation.

This is roughly equivalent to the resourceQuery condition in webpack rules: https://webpack.js.org/configuration/module/#ruleresourcequery

Fixes #65360
Fixes #67452
Fixes #79311

@nextjs-bot nextjs-bot added Documentation Related to Next.js' official documentation. tests Turbopack Related to Turbopack with Next.js. type: next labels Dec 18, 2025
@nextjs-bot
Copy link
Collaborator

Allow CI Workflow Run

  • approve CI run for commit: 49d9237

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@nextjs-bot
Copy link
Collaborator

nextjs-bot commented Dec 18, 2025

Allow CI Workflow Run

  • approve CI run for commit: 60c6c0c

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@jwueller jwueller force-pushed the feature/turbopack-query-conditions branch from 49d9237 to 60c6c0c Compare December 18, 2025 01:34
Accepts a regular expression under the `query` key in turbopack
conditions. An updated example has been added to the documentation.

This is roughly equivalent to the `resourceQuery` condition in webpack
rules: https://webpack.js.org/configuration/module/#ruleresourcequery

Fixes vercel#65360
Fixes vercel#67452
Fixes vercel#79311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Related to Next.js' official documentation. tests Turbopack Related to Turbopack with Next.js. type: next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Turbopack Fails with ResourceQuery in Glob Pattern

2 participants