Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6208

Expo: Compile TypeScript files from specific node_modules

$
0
0

I would like to make Expo/Babel(7) compile some modules inside node_modules using TypeScript, but I don't seem to find a way how to configure it.

What's strange is that it does transform TypeScript in the project root by default without any configuration, but not in node_modules.

Adding ignore: [] into babel.config.js as suggested in Babel docs does not work. I can see that Babel parses some of the react-native/expo files from node_modules though as setting test option to anything will break the build.


Viewing all articles
Browse latest Browse all 6208

Trending Articles