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

Add swc transpilation flag #12418

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

krreet
Copy link
Contributor

@krreet krreet commented May 20, 2022

@raix continued this PR from #11739

conflicts resolved and ran npm run audit.

reetkr and others added 26 commits August 28, 2021 12:50
Currently swc doesn't support Flow they are considering it, if they do we can revert this commit swc-project/swc#256
setting path=paths.appPath did not work https://swc.rs/docs/configuration/supported-browsers#path

Also enabled requre resolve to allow extending from packages
Move dependency loading into the loader call
Using JSON5 as projects with jsconfig.json might not have TypeScript installed - eg. VS Code reads the config + SWC is also configured via jsconfig.json in projects without TypeScript.
@krreet krreet requested review from iansu and mrmckeb as code owners May 20, 2022 13:39
@krreet krreet changed the title Swap babel out with swc in start build and test 2 Add swc transpilation behind a flag May 20, 2022
@krreet krreet changed the title Add swc transpilation behind a flag Add swc transpilation flag May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants