This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let path = require("path") | |
module.exports = { | |
getTransformModulePath() { | |
return require.resolve("react-native-typescript-transformer") | |
}, | |
sourceExts: ["ts", "tsx"], | |
// Set projectRoot to the web front-end root (Realization 1 above) | |
projectRoot: path.resolve(__dirname, "../assets/javascripts"), | |
// Set watchFolders to include the current directory, parent node_modules |