Skip to content

Commit d0ce651

Browse files
committed
chore: use original string
1 parent 3cb017d commit d0ce651

File tree

1 file changed

+1
-2
lines changed
  • turbopack/crates/turbopack-browser/src/ecmascript

1 file changed

+1
-2
lines changed

turbopack/crates/turbopack-browser/src/ecmascript/content.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ impl EcmascriptBrowserChunkContent {
109109
code,
110110
// `||=` would be better but we need to be es2020 compatible
111111
//`x || (x = default)` is better than `x = x || default` simply because we avoid _writing_ the property in the common case.
112-
"(globalThis[\"{chunk_loading_global}\"] || (globalThis[\"{chunk_loading_global}\"] = \
113-
[])).push([{script_or_path},"
112+
r#"(globalThis["{chunk_loading_global}"] || (globalThis["{chunk_loading_global}"] = [])).push([{script_or_path},"#
114113
)?;
115114

116115
let content = this.content.await?;

0 commit comments

Comments
 (0)