title: Unexpected Token when importing react-native-fetch-blob
body: <p>We are trying to import the react-native-fetch-blob package package using the following code:</p>
  
  <pre><code>const RNFetchBlob = require('react-native-fetch-blob');
  const firebase = require('firebase');
  </code></pre>
  
  <p>However, when we try and build, we get a Syntax Error for Unexpected token import as follows.</p>
  
  <blockquote>
    <p>C:\Users\ ...\node_modules\react-native-fetch-blob\index.js:5<br>
       import {<br>
       ^^^^^^<br>
       SyntaxError: Unexpected token import<br>
       at Object.exports.runInThisContext (vm.js:76:16)<br>
       at Module._compile (module.js:513:28)<br>
       at Object.Module._extensions..js (module.js:550:10)<br>
       at Module.load (module.js:458:32)<br>
       at tryModuleLoad (module.js:417:12)<br>
       at Function.Module._load (module.js:409:3)<br>
       at Module.require (module.js:468:17)<br>
       at require (internal/module.js:20:19)<br>
       at Object.
      (C:\Users\ ...\build\cloud\file.js:159:243)
       at Module._compile (module.js:541:32)</p>
  </blockquote>
  
  <p>We are using ES6 and our .babelrc file looks as follows</p>
  
  <pre><code>"plugins": [
      ["transform-runtime", {
          "polyfill": false,
          "regenerator": true
      }]
  ],
  "presets": ["react-native","es2015",]
  </code></pre>
  
  <p>Is there a solution to this? Any help would be greatly appreciated!</p>
  
  <p>Thanks!</p>