feat(next-core): apply rsc transform in turbopack (#59629)
### What?
Turbopack does not apply same transform for the react server components,
which makes missing lot of compilation error validation and custom
comments. PR refactors transform to be used in next-swc / turbopack
both, then apply it into turbopack.
There are still some of test cases are not passing, might need further
digging for the transform condition.
Closes PACK-2155
---------
Co-authored-by:
Tim Neutkens <tim@timneutkens.nl>
Showing
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment