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

Support .tsx and .jsx files from CLI #448

Merged
merged 6 commits into from
Aug 26, 2019

Commits on May 4, 2019

  1. Support .tsx and .jsx files from CLI

    Despite the transforms being supported, the CLI will currently only compile `.ts` files. This makes sure the correct file extensions are used when running something like `sucrase ./src -d ./out --transforms imports,typescript,jsx`.
    ricardobeat committed May 4, 2019
    Configuration menu
    Copy the full SHA
    bf7f664 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. Fix path imports

    Ricardo Tomasi committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    f72e39a View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2019

  1. Configuration menu
    Copy the full SHA
    6f15a78 View commit details
    Browse the repository at this point in the history
  2. Remove unused imports

    alangpierce committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    4309bf6 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2019

  1. Configuration menu
    Copy the full SHA
    20bf084 View commit details
    Browse the repository at this point in the history
  2. Switch to an array of extensions rather than regex

    The array approach seems a little more extensible for future things like .mjs,
    for example.
    alangpierce committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    b3fccb7 View commit details
    Browse the repository at this point in the history