8f4ae065e0
This removes the `__internal_nextjs_integration_test` compile-time feature. This would end up requiring an additional set of build targets for running integration tests was only used for two cases: * Determining whether to read from an env var to load mocked Google fonts responses in next/font/google tests. This now uses the presence of this variable to determine whether to use mocked responses. * Enabling the `next-dev/serializable` feature. This is now set directly instead. Test Plan: * Integration tests with Turbopack. * Manual test of next/font/google with Turbopack |
||
---|---|---|
.. | ||
crates | ||
native | ||
.vercel.approvers | ||
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