next.js
fedb6755 - fix(next-swc): Do not reuse compiler instance (#65602)

Commit
1 year ago
fix(next-swc): Do not reuse compiler instance (#65602) ### What? Do not reuse `Compiler` instance. ### Why? It exists only to support preserving comments from `print()` API for modules created with `parse()` API, but it causes a problem for `transform()` for very huge apps. ### How? - Closes https://github.com/swc-project/swc/issues/8932 - Fixes #48960 - Fixes #65436
Author
Parents
Loading