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(scripts-core): take a look at swc #4930

Closed
wants to merge 2 commits into from

Conversation

jmfrancois
Copy link
Collaborator

What is the problem this PR is trying to solve?

We use the good and old babel. More and more tooling are poping using golang and rust outside.
We need to take a look and see what is the level of maturity of each

What is the chosen solution to this problem?

Today we take a look at https://swc.rs/
SWC means Speedy Web Compiler
It is Rust compiler which try to replace babel and tsc

First results show typescript support do not generate types, just transpile it, so as babel.

Please check if the PR fulfills these requirements

  • The PR have used yarn changeset to a request a release from the CI if wanted.
  • The PR commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features) And non reg done before need review
  • Docs have been added / updated (for bug fixes / features)
  • Related design / discussions / pages (not in jira), if any, are all linked or available in the PR

[ ] This PR introduces a breaking change

@jmfrancois jmfrancois temporarily deployed to pull_request_unsafe October 11, 2023 09:05 — with GitHub Actions Inactive
@jmfrancois jmfrancois temporarily deployed to pull_request_unsafe October 11, 2023 09:07 — with GitHub Actions Inactive
Comment on lines -2 to -3
export createChainedFunction from './createChainedFunction';
export ValidComponentChildren from './ValidComponentChildren';
Copy link
Collaborator Author

@jmfrancois jmfrancois Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what this code is supposed to do but it is not supported by swc

Looking at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export this is not supposed to exists
Looking everywhere in react-bootstrap this is not used

@romainseb romainseb closed this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants