We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cadbd3 commit 74c6830Copy full SHA for 74c6830
turbopack/crates/turbopack-nodejs/src/chunking_context.rs
@@ -321,10 +321,10 @@ impl ChunkingContext for NodeJsChunkingContext {
321
extension: RcStr,
322
) -> Result<Vc<FileSystemPath>> {
323
let root_path = self.chunk_root_path.clone();
324
- let name = ident
325
- .output_name(self.root_path.clone(), prefix, extension)
326
- .owned()
327
- .await?;
+ let mut name = ident
+ .output_name(self.root_path.clone(), prefix, extension.clone())
+ .await?
+ .to_string();
328
if !name.ends_with(extension.as_str()) {
329
name.push_str(&extension);
330
}
0 commit comments