Skip to content

Commit

Permalink
fixup! Replace turbopack://[project]/... sourcemap uris with `file:…
Browse files Browse the repository at this point in the history
…//...`
  • Loading branch information
wbinnssmith committed Oct 21, 2024
1 parent 4db3442 commit 9e22f6f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions turbopack/crates/turbopack-css/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ pub struct InlineSourcesContentConfig {}
impl SourceMapGenConfig for InlineSourcesContentConfig {
fn file_name_to_source(&self, f: &FileName) -> String {
match f {
FileName::Custom(s) => {
dbg!(s);
format!("{SOURCE_MAP_PREFIX}{s}")
}
FileName::Custom(s) => format!("{SOURCE_MAP_PREFIX}{s}"),
_ => f.to_string(),
}
}
Expand Down

0 comments on commit 9e22f6f

Please sign in to comment.