Skip to content

crowdcube/react-app-rewire-typescript

 
 

Repository files navigation

react-app-rewire-typescript

Add Typescript Webpack loading to a react-app-rewired config.

/* config-overrides.js */

const rewireTypescript = require('react-app-rewire-typescript');

module.exports = function override(config, env) {
    // ...
    config = rewireTypescript(config, env);
    // ...
    return config;
}

For running .ts test files, take a look at ts-jest. PRs to integrate ts-jest compatibility into this repo are welcome.

About

Add ts-loader to a react-app-rewired config.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%