rsnext/packages/next-swc
Will Binns-Smith 806c9eeb6c
build(cargo): update turbopack to turbopack-230126.1 (#45322)
**Note**: This requires https://github.com/vercel/next.js/pull/45314,
otherwise the following error is shown, but does not block builds:

```
error - [build] examples/create-app
  Error evaluating Node.js code
  TypeError: makeResolver is not a function
    at getResolveRoute (path/to/next.js/examples/create-app/.next/build/chunks/router.js:21:18)
    at async Module.route (path/to/next.js/examples/create-app/.next/build/chunks/router.js:24:36)
    at async Module.run (path/to/next.js/examples/create-app/.next/build/chunks/[turbopack-node]_ipc_evaluate.ts.js:19:39)
```

### Features

- https://github.com/vercel/turbo/pull/3446
- https://github.com/vercel/turbo/pull/3396
- https://github.com/vercel/turbo/pull/3499

### Bug fixes

- https://github.com/vercel/turbo/pull/3433

### Misc

- https://github.com/vercel/turbo/pull/3479
2023-01-26 14:42:48 -08:00
..
.cargo chore: Update swc_core to v0.28.10 (#41016) 2022-09-29 14:09:20 +00:00
crates build(cargo): update turbopack to turbopack-230126.1 (#45322) 2023-01-26 14:42:48 -08: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(cargo): update turbopack to turbopack-230126.1 (#45322) 2023-01-26 14:42:48 -08:00
Cargo.toml chore: Update swc_core to v0.28.20 (#41153) 2022-10-04 16:16:11 +02:00
package.json Improved pnpm clean (#45312) 2023-01-26 13:24:19 -08:00
README.md docs: add readme with development instructions for next/swc (#43834) 2022-12-08 13:38:44 +01:00
rust-toolchain build(next-swc): update turbopack to latest (#42733) 2022-11-10 11:52:48 +01: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