Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #11247
Closed
Open
Issue created Jul 26, 2021 by Administrator@rootContributor

[v5] Use ts loader and ts-jest for typescript transpilation

Created by: raix

Is your proposal related to a problem?

When developing typescript applications it would be great to use typescript compiler instead of babel transform etc. to better respect the tsconfig.

A similar aspect is the missing typechecking of test / jest files again moving to ts-jest would greatly improve the DX in this area for TypeScript developers (ts-jest loaders configured with the same babel presets as the actual build...)

Describe the solution you'd like

  1. use ts-loader for transformation (keeping fork-ts-checker for the typechecking)
  2. use ts-jest for transformation and type checking in tests (with babel configured)
  3. Reduce babel for typescript files to do babel env/react and for now fast-refresh

Describe alternatives you've considered

We already use babel as the alternative, would only consider those two

Additional context

Assignee
Assign to
Time tracking