6 Commits

Author SHA1 Message Date
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
Sebastian Silbermann 2d7995f55e Colocate cssnanon-preset-simple unit test with source (#68508) 2024-08-04 22:19:32 +02:00
Jiwon Choi ebc2c68c4c chore: upgrade ts to 5.4 (#67171)
Stepping stone before #67113

Closes NEXT-3136

---------

Co-authored-by: Jiachi Liu <inbox@huozhi.im>
2024-06-25 23:12:28 +09:00
Jiachi Liu 1e3a1cbaab Upgrade typescript to 5.3 (#64043)
Closes NEXT-2997

---------

Co-authored-by: eps1lon <sebastian.silbermann@vercel.com>
2024-04-17 18:35:29 +02:00
Tim Neutkens 59bda2d818 More Turbopack fixes (#56299)
Skips additional production-only tests.

Follow-up to #56089.

In this PR I went through all of `test/integration` looking for `nextBuild(` and added the skipping logic.
2023-10-02 13:55:23 +00:00
Sukka 26768571ad test(unit): add cases for cssnano simple (#46862)
Continues from #46380. The PR migrates the unit test cases from the original repo into the Next.js repo.
2023-03-07 06:28:53 +00:00