Files
Sam Ko daba014016 fix(webpack): update cssnano-preset-default to v7 (#68748)
## Why?

Our default CSS minifier had a bug → https://github.com/cssnano/cssnano/issues/1655, which was also reported (below).

Since it is now fixed upstream, we need to update our cssnano in Next.js.

- Fixes https://github.com/vercel/next.js/issues/68476

## How?

- Update `cssnano-preset-default` to v6
- Add unit test to cover the case for being able to declare layer names

(the added unit test errors in an way that's unreadable on canary)
![CleanShot 2024-11-04 at 22 32 32@2x](https://github.com/user-attachments/assets/ef3a302a-2aec-4b63-9db2-40869daaf5ad)
2024-11-04 22:36:39 -08:00
..