You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, entrypoint to isomorphic proxy / host context is swc_plugin. I.e using swc_plugin:HANDLER provides host / or plugin specific context based on build targets. If we want #4826 works better we need to inverse this, let swc_common:* provides right context to either swc_plugin or host context. Otherwise each host's core transform needs to import swc_plugin, as well as it's easier to create circular dependencies across swc_plugin to transform visitors.
Describe the feature
Currently, entrypoint to isomorphic proxy / host context is
swc_plugin
. I.e usingswc_plugin:HANDLER
provides host / or plugin specific context based on build targets. If we want #4826 works better we need to inverse this, letswc_common:*
provides right context to either swc_plugin or host context. Otherwise each host's core transform needs to import swc_plugin, as well as it's easier to create circular dependencies across swc_plugin to transform visitors.Babel plugin or link to the feature description
No response
Additional context
Subtask for #4826.
The text was updated successfully, but these errors were encountered: