Turbopack: query conditions in rules follow-ups#88801
Conversation
Stats from current PR✅ No significant changes detected📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles: **432 kB** → **432 kB** ✅ -49 B82 files with content-based hashes (individual files not comparable between builds) Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
|
Merging this PR will not alter performance
Comparing Footnotes
|
Tests Passed |
2e432ce to
16e2fba
Compare
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
Co-authored-by: Luke Sandberg <lukesandberg@users.noreply.github.com>
16e2fba to
d7ad309
Compare
|
Hmm... I expected it to keep the author attribution of the individual commit. Maybe because it was merged by graphite...? |
|
I don't know what Graphite does, but that seems like a fundamental design failure. Open source contributions are made under a specific license, and most of those require attribution. Maybe it's worth evaluating that tool, if it can't even do the bare minimum correctly. Squashing commits is a destructive operation that should never happen implicitly. I've seen this exact pattern happen in several major open source projects at this point. It also doesn't help that GitHub fails to correctly deal with git metadata in lots of places. At this point, I only trust git itself to get it right. The permission issue could have been resolved if I had known about it, I'm sure. Thanks for adding me to the release notes. I suppose it's something. |
Rebase of #87291