rsnext/packages/next-swc/README.md

27 lines
325 B
Markdown
Raw Normal View History

# `@next/swc`
This package is responsible for swc compilation customized for next.js
### Development
Run tests
```sh
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
```