react-app-rewire-typescript
v2.0.2
Published
Add ts-loader to a react-app-rewired config.
Downloads
685
Maintainers
Readme
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.