MCPcopy Create free account
hub / github.com/echobind/react-native-template / getSourceExts

Function getSourceExts

template/rn-cli.config.js:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4 // return require.resolve('react-native-typescript-transformer');
5 // },
6 getSourceExts() {
7 // allow overrides via ENV vars (ex: component.e2e.js)
8 return process.env.RN_SRC_EXT
9 ? process.env.RN_SRC_EXT.split(',').concat(['ts', 'tsx'])
10 : ['ts', 'tsx'];
11 },
12};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected