rsnext/packages/next-swc
Donny/강동윤 6ea64002aa
fix(next-swc): Enable ignoreDynamic for auto_cjs (#45836)
This PR enables `ignoreDynamic` for common js modules which is detected
by `auto_cjs` pass.


Fixes https://github.com/vercel/next.js/issues/40231.


---

I verified that with this change the test reproduction does not fail
with import error.

---------
2023-02-13 10:48:39 -08:00
..
.cargo chore: Update swc_core to v0.28.10 (#41016) 2022-09-29 14:09:20 +00:00
crates fix(next-swc): Enable ignoreDynamic for auto_cjs (#45836) 2023-02-13 10:48:39 -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 Update turbopack to 230209.02 (#45776)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> 2023-02-10 17:40:19 +01:00
Cargo.toml chore: Update swc_core to v0.28.20 (#41153) 2022-10-04 16:16:11 +02:00
package.json v13.1.7-canary.10 2023-02-11 12:06:15 +01: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