Skip to content

Commit 3a7ea69

Browse files
xusd320mischnic
andauthored
fix(turbopack): prepend a question mark in AssetIdent display (#78977)
## What? Just update AssetIdent display, prepend "?" like url query. See printed ident with query like below <img width="1500" alt="image" src="https://github.com/user-attachments/assets/bd37733f-cdd1-496e-b7f0-5c372e842d14" /> Co-authored-by: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
1 parent 92f4077 commit 3a7ea69

File tree

1 file changed

+1
-1
lines changed
  • turbopack/crates/turbopack-core/src

1 file changed

+1
-1
lines changed

turbopack/crates/turbopack-core/src/ident.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl ValueToString for AssetIdent {
5959

6060
let query = self.query.await?;
6161
if !query.is_empty() {
62-
write!(s, "{}", &*query)?;
62+
write!(s, "?{}", &*query)?;
6363
}
6464

6565
if let Some(fragment) = &self.fragment {

0 commit comments

Comments
 (0)