7092266076
See https://github.com/vercel/turbo/pull/4776 This adds support for: * Default and custom global app 404 pages (`app/not-found`). * Segment-level 404 pages (`app/segment/not-found`). This also updates Turbopack: * https://github.com/vercel/turbo/pull/4787 <!-- Tobias Koppers - Bugfixes for free var and binding replacement --> * https://github.com/vercel/turbo/pull/4789 <!-- Alex Kirszenberg - Print a warning when importing Sass files --> * https://github.com/vercel/turbo/pull/4776 <!-- Alex Kirszenberg - Leave pathname formatting up to the caller --> * https://github.com/vercel/turbo/pull/4790 <!-- Tobias Koppers - remove inital compilation message by default --> ## TODO: - [ ] ~~The dev overlay shows up when `notFound()` is called, it should be hidden~~ (moved to WEB-980) - [ ] ~~Navigating to the global 404 page doesn't work~~ (this is a bug in Next.js, see NEXT-963) - [x] Tests. --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com> |
||
---|---|---|
.. | ||
crates | ||
native | ||
package.json | ||
README.md |
@next/swc
This package is responsible for swc compilation customized for next.js
Development
Run tests
cargo test
# Update snapshots and fixtures for tests
UPDATE=1 cargo test
Format code before submitting code
cargo fmt
Build the binary to integrate with next.js
pnpm build-native