Answers for "Use jsx extension react-native"

0

Use jsx extension react-native

/**
 * Metro configuration for React Native
 * https://github.com/facebook/react-native
 *
 * @format
 */

module.exports = {
    transformer: {
        getTransformOptions: async () => ({
            transform: {
                experimentalImportSupport: false,
                inlineRequires: false,
            },
        }),
    },
    resolver: {
        sourceExts: ['jsx','js', 'json', 'ts', 'tsx']
    }
};
Posted by: Guest on October-10-2021

Code answers related to "Use jsx extension react-native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language