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 behind a flag #11739

Closed
wants to merge 15 commits into from
Closed

Add swc transpilation behind a flag #11739

wants to merge 15 commits into from

Commits on Dec 10, 2021

  1. Swap out babel with swc

    Morten N.O. Henriksen committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    eccb0b9 View commit details
    Browse the repository at this point in the history
  2. Cache clean no longer needed as of Npm v5

    Morten N.O. Henriksen committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    8e1d6fa View commit details
    Browse the repository at this point in the history
  3. Fix swc browserlists support

    Morten N.O. Henriksen committed Dec 10, 2021
    Configuration menu
    Copy the full SHA
    44a7c21 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2021

  1. Breaking: Remove support for Flow

    Currently swc doesn't support Flow they are considering it, if they do we can revert this commit swc-project/swc#256
    Morten N.O. Henriksen committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    6f9083b View commit details
    Browse the repository at this point in the history
  2. Update jest to ^27.4.4

    Morten N.O. Henriksen committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    2334298 View commit details
    Browse the repository at this point in the history
  3. Remove unmaintained tar-pack updating tar from v2 to v6

    Morten N.O. Henriksen committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    867c019 View commit details
    Browse the repository at this point in the history
  4. Load tsconfig or jsconfig as base for swc configuration

    Morten N.O. Henriksen committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    2af14b9 View commit details
    Browse the repository at this point in the history
  5. Fix swc browserslist

    setting path=paths.appPath did not work https://swc.rs/docs/configuration/supported-browsers#path
    
    Also enabled requre resolve to allow extending from packages
    Morten N.O. Henriksen committed Dec 11, 2021
    Configuration menu
    Copy the full SHA
    d42aed5 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2021

  1. Revert "Breaking: Remove support for Flow"

    This reverts commit 6f9083b.
    Morten N.O. Henriksen committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    a8aa254 View commit details
    Browse the repository at this point in the history
  2. Add babel back and hide swc under flag

    Morten N.O. Henriksen committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    11bf2c9 View commit details
    Browse the repository at this point in the history
  3. Fix test command

    Morten N.O. Henriksen committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    a1693f0 View commit details
    Browse the repository at this point in the history
  4. Add message about experimental feature

    Move dependency loading into the loader call
    Morten N.O. Henriksen committed Dec 13, 2021
    Configuration menu
    Copy the full SHA
    239e7db View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2021

  1. Fix typo classic

    Morten N.O. Henriksen committed Dec 15, 2021
    Configuration menu
    Copy the full SHA
    0810052 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2021

  1. Fix typo of runtime classic

    Morten N.O. Henriksen committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    1267810 View commit details
    Browse the repository at this point in the history
  2. Support comments in jsconfig.json

    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.
    Morten N.O. Henriksen committed Dec 19, 2021
    Configuration menu
    Copy the full SHA
    6dab098 View commit details
    Browse the repository at this point in the history