您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

metro.config.js 299 B

1234567891011121314151617
  1. /**
  2. * Metro configuration for React Native
  3. * https://github.com/facebook/react-native
  4. *
  5. * @format
  6. */
  7. module.exports = {
  8. transformer: {
  9. getTransformOptions: async () => ({
  10. transform: {
  11. experimentalImportSupport: false,
  12. inlineRequires: true,
  13. },
  14. }),
  15. },
  16. };