/**
 * - adds platform extensions to Node resolver
 */
module.exports = {
  settings: {
    'import/resolver': {
      node: {
        // Note: will not complain if only _one_ of these files exists.
        extensions: ['.js', '.ios.js', '.android.js'],
      },
    },
  },
}

/**
 * - adds platform extensions to Node resolver
 */
module.exports = {
  settings: {
    'import/resolver': {
      node: {
        // Note: will not complain if only _one_ of these files exists.
        extensions: ['.js', '.web.js', '.ios.js', '.android.js'],
      },
    },
  },
}

Add web.js extension in react-native config (#574)