-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
Document @swc/plugin-loadable-components
#909
Comments
Amazing! A lot of people requesting swc based transformation and I am just happy to see how it moves forward |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@kdy1 thanks for this!
Got it totally working, looks like I found a bug in swc-loader maybe. If anyone interested in seeing a minimalish example repo, I have one here: https://github.com/adbutterfield/fast-refresh-express/tree/loadable-components |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
💬 Questions and Help
I searched for issues but there was only request for SWC plugins.
I implemented SWC plugin for
@loadable/compoents
and it's published as@swc/plugin-loadable-components
A thing to note is that SWC plugin API is still experimental.
Still, I'm lefting an issue so someone search for SWC plugin can find this issue.
Git repo: https://github.com/swc-project/plugins/tree/28ab1c04df68f7347d470ed3bac4e72d7f7befa9/packages/loadable-components
Npm: https://www.npmjs.com/package/@swc/plugin-loadable-components
Documentation: https://swc.rs/docs/configuration/compilation#jscexperimentalplugins
The text was updated successfully, but these errors were encountered: