Skip to content

Commit

Permalink
fix(turbopack): Fix CSS Module renaming behavior for @container (#7…
Browse files Browse the repository at this point in the history
…2607)

### What?

Disable CSS Modules renaming for containers.

### Why?

We should match the behavior of webpack mode.

See: parcel-bundler/lightningcss#835

### How?

 - Closes PACK-3315
 - Closes #71233
  • Loading branch information
kdy1 authored and wyattjoh committed Nov 28, 2024
1 parent ac24457 commit 04f0662
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions turbopack/crates/turbopack-css/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ async fn process_content(
},
dashed_idents: false,
grid: false,
container: false,
..Default::default()
}),

Expand Down Expand Up @@ -697,6 +698,7 @@ mod tests {
pattern: Pattern::default(),
dashed_idents: false,
grid: false,
container: false,
..Default::default()
}),
..Default::default()
Expand Down

0 comments on commit 04f0662

Please sign in to comment.