react-native.js 289 B

12345678910111213
  1. /**
  2. * - adds platform extensions to Node resolver
  3. */
  4. module.exports = {
  5. settings: {
  6. 'import/resolver': {
  7. node: {
  8. // Note: will not complain if only _one_ of these files exists.
  9. extensions: ['.js', '.web.js', '.ios.js', '.android.js'],
  10. },
  11. },
  12. },
  13. };