Typescript in node_modules

Hello guys,

I’m prototyping small app that should use our internal library that’s written in Typescript React.
But I’m still getting the error saying “You may need an appropriate loader to handle this file type”
How should I set extra webpack config to get those TS/TSX file loaded and transpiled too. It seems that all my webpack.config or extra-webpack.config file are ignored.

(please ignore that it’s a bad practice to have ts dependencies in node_modules)

Many thanks