react-app-rewire-typescript-babel-preset
react-app-rewire-typescript-babel-preset copied to clipboard
[email protected] support
Would be great to add support for [email protected] before deprecating this package, it's a very simple fix. Because of limited official TypeScript support in react-scripts I still actively use this package in production.
I've already fixed it here (just rewireWebpack.ts file changes): https://github.com/feimosi/react-app-rewire-typescript-babel-preset/commit/b1f8de5cfe54bee5168ce91cd3b924680bd7ca22#diff-a1bd5d0b107a0eb5ea012e4bec782aaeL4
v2.0.1 has removed all the helpers so we just need to restore them:
getBabelLoaderfromcustomize-cra,getLoaderembedded as it's not available anywhere.
Related: https://github.com/timarney/react-app-rewired/issues/348#issuecomment-452199363