rsnext/packages/next-swc
Tobias Koppers 3e8fe3c763
add user-level tracing (#59284)
### What?

add a few user-focused info-level spans to allow high-level tracing on a
normal build.

`NEXT_TURBOPACK_TRACING=1` can be used to generate a `.next/trace.log`
file

### Why?

Gain insight into build performance and module cost 



Closes PACK-2083
2023-12-05 13:08:39 +01:00
..
crates add user-level tracing (#59284) 2023-12-05 13:08:39 +01:00
native Extract next-swc Rust code into its own package (#31635) 2021-11-21 12:59:56 +01:00
package.json v14.0.4-canary.40 2023-12-04 22:27:15 +00:00
README.md docs: add readme with development instructions for next/swc (#43834) 2022-12-08 13:38:44 +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