Skip to content
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

feat: use swc for import component transpilation (in case of esbuild) #2010

Closed
wants to merge 1 commit into from

Conversation

jhiode
Copy link
Contributor

@jhiode jhiode commented Nov 4, 2021

This replaces the RegEx-based importComponent transformer for esbuild.

There is still one difference to the babel version, SWC removes all comments from the result and there is no way around it yet.

@jhiode jhiode added 🔝 enhancement 📦 v15 Apply this label to a pull request, if it has to be cherry-picked to the v15.x-branch after merging. 📦 master Apply this label to a pull request, if it has to be cherry-picked to the maste-branch. labels Nov 4, 2021
@jhiode jhiode force-pushed the swc-import-component branch from 9ba35f2 to f3928b2 Compare November 4, 2021 16:01
@jhiode jhiode force-pushed the swc-import-component branch from f3928b2 to 24a9fe0 Compare November 5, 2021 11:28
@ZauberNerd
Copy link
Contributor

We've replaced the loader with babel in: #2070

@ZauberNerd ZauberNerd closed this Feb 21, 2022
@ZauberNerd ZauberNerd deleted the swc-import-component branch February 21, 2022 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔝 enhancement 📦 master Apply this label to a pull request, if it has to be cherry-picked to the maste-branch. 📦 v15 Apply this label to a pull request, if it has to be cherry-picked to the v15.x-branch after merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants