-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Apply the next/dynamic SWC transform #3184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply the next/dynamic SWC transform #3184
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Ignored Deployments
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
0cf606b
to
a661cdd
Compare
ccfa77b
to
9f0b183
Compare
a661cdd
to
468260f
Compare
468260f
to
a4c98cd
Compare
a4c98cd
to
44ca034
Compare
Benchmark for d03a2c0
Click to view full benchmark
|
|
44ca034
to
c9f8a3f
Compare
c9f8a3f
to
0131667
Compare
19480dc
to
183d30f
Compare
58a14a7
to
573320f
Compare
Benchmark for a38d458
Click to view full benchmark
|
573320f
to
dc7bedf
Compare
Benchmark for 2ff13af
Click to view full benchmark
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably fine
A test for that that actually runs the code would be great: next-dev/tests
Benchmark for cd38f3bClick to view benchmark
|
This PR adds the next/dynamic SWC transform to the repo. This is copied over from the implementation in [](https://github.com/vercel/next.js/blob/3e2e39c55939bd156cbb4dab926aaaa126b53d1c/packages/next-swc/crates/core/src/next_dynamic.rs), with an additional mode for Turbopack. For now, it applies it to all sources files (excluding node_modules, but including embedded modules). I've refactored the Next transforms logic to make it more easily extendable in the future, and avoid creating more Vcs than absolutely necessary. This PR is the last item in the list of what's needed to support next/dynamic in development.
This PR adds the next/dynamic SWC transform to the repo. This is copied over from the implementation in [](https://github.com/vercel/next.js/blob/f70a6bfb8635929feeecc92413da1fb2b651a18d/packages/next-swc/crates/core/src/next_dynamic.rs), with an additional mode for Turbopack. For now, it applies it to all sources files (excluding node_modules, but including embedded modules). I've refactored the Next transforms logic to make it more easily extendable in the future, and avoid creating more Vcs than absolutely necessary. This PR is the last item in the list of what's needed to support next/dynamic in development.
This PR adds the next/dynamic SWC transform to the repo. This is copied over from the implementation in [](https://github.com/vercel/next.js/blob/3e2e39c55939bd156cbb4dab926aaaa126b53d1c/packages/next-swc/crates/core/src/next_dynamic.rs), with an additional mode for Turbopack. For now, it applies it to all sources files (excluding node_modules, but including embedded modules). I've refactored the Next transforms logic to make it more easily extendable in the future, and avoid creating more Vcs than absolutely necessary. This PR is the last item in the list of what's needed to support next/dynamic in development.
This PR adds the next/dynamic SWC transform to the repo. This is copied over from the implementation in [](https://github.com/vercel/next.js/blob/3e2e39c55939bd156cbb4dab926aaaa126b53d1c/packages/next-swc/crates/core/src/next_dynamic.rs), with an additional mode for Turbopack. For now, it applies it to all sources files (excluding node_modules, but including embedded modules). I've refactored the Next transforms logic to make it more easily extendable in the future, and avoid creating more Vcs than absolutely necessary. This PR is the last item in the list of what's needed to support next/dynamic in development.
This PR adds the next/dynamic SWC transform to the repo. This is copied over from the implementation in [](https://github.com/vercel/next.js/blob/3e2e39c55939bd156cbb4dab926aaaa126b53d1c/packages/next-swc/crates/core/src/next_dynamic.rs), with an additional mode for Turbopack. For now, it applies it to all sources files (excluding node_modules, but including embedded modules). I've refactored the Next transforms logic to make it more easily extendable in the future, and avoid creating more Vcs than absolutely necessary. This PR is the last item in the list of what's needed to support next/dynamic in development.
This PR adds the next/dynamic SWC transform to the repo. This is copied over from the implementation in , with an additional mode for Turbopack.
For now, it applies it to all sources files (excluding node_modules, but including embedded modules).
I've refactored the Next transforms logic to make it more easily extendable in the future, and avoid creating more Vcs than absolutely necessary.
This PR is the last item in the list of what's needed to support next/dynamic in development.