rsnext/packages/next-swc
Wyatt Johnson 2642d0a83e
Combine Route Handlers with Route Modules (#47679)
Based on some suggestions from @sokra, this serves to unify the Route Handlers and Route Modules to provide a unified interface for defining route modules and handlers and defining their dependancies.
2023-03-31 04:52:48 +00:00
..
.cargo next-swc: Switch to testing::fixture (#47183) 2023-03-17 06:18:25 +00:00
.config re-enable next-dev-tests (#47087) 2023-03-14 16:05:19 +01:00
crates Combine Route Handlers with Route Modules (#47679) 2023-03-31 04:52:48 +00:00
native Extract next-swc Rust code into its own package (#31635) 2021-11-21 12:59:56 +01:00
.rustfmt.toml Extract next-swc Rust code into its own package (#31635) 2021-11-21 12:59:56 +01:00
Cargo.lock build(next-swc): introduce turbo-binding (#47512) 2023-03-29 20:25:11 -07:00
Cargo.toml build(next-swc): introduce turbo-binding (#47512) 2023-03-29 20:25:11 -07:00
package.json v13.2.5-canary.22 2023-03-31 00:57:10 +00:00
README.md docs: add readme with development instructions for next/swc (#43834) 2022-12-08 13:38:44 +01:00
rust-toolchain Update Turbopack to 230309.2 (#46971) 2023-03-09 13:24:24 -08:00

@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