diff --git a/crates/mako/src/generate/chunk.rs b/crates/mako/src/generate/chunk.rs index 141f766a0..87e9cbadc 100644 --- a/crates/mako/src/generate/chunk.rs +++ b/crates/mako/src/generate/chunk.rs @@ -74,11 +74,13 @@ impl Chunk { .components() .filter(|c| !matches!(c, Component::RootDir | Component::CurDir)) .map(|c| match c { - Component::ParentDir => "@".to_string(), - Component::Prefix(_) => "@".to_string(), + Component::ParentDir => "_pd_".to_string(), + Component::Prefix(_) => "_ps_".to_string(), Component::RootDir => "".to_string(), Component::CurDir => "".to_string(), - Component::Normal(seg) => seg.to_string_lossy().replace(['.', '?'], "_"), + Component::Normal(seg) => { + seg.to_string_lossy().replace(['.', '?', '@'], "_") + } }) .collect::>() .join("_");