rsnext/packages/next-swc
OJ Kwon 036f540bb4
feat(turbopack): support transform options (#47365)
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:

## For Contributors



-->

### What?

This PR implements a feature for the turbpack to support (partial)
transform configuration inherited from ts/jsconfigs, notably for the
legacy decorators and jsx runtimes.

### Why?

### How?
- Closes WEB-667
2023-04-03 10:32:13 -07: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 feat(turbopack): support transform options (#47365) 2023-04-03 10:32:13 -07:00
native Extract next-swc Rust code into its own package (#31635) 2021-11-21 12:59:56 +01:00
.rustfmt.toml add consistent import sorting/grouping to rustfmt (#47745) 2023-03-31 22:12:54 +00:00
Cargo.lock New app routes resolving logic for turbopack (#47737) 2023-04-03 13:07:28 +02:00
Cargo.toml Turbopack: Use SharedError for body streaming (#47677) 2023-04-01 11:37:17 +00:00
package.json v13.2.5-canary.28 2023-04-03 07:16:33 +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