title: react fireabase Cannot use import statement outside a module
body: <p>I am trying to import this library to use firebase feature import firebase from 'firebase/app';
  It is giving below error
  &quot;Uncaught SyntaxError: Cannot use import statement outside a module&quot;
  at line
  {
  function(module, exports) {</p>
  <p>import firebase from '@firebase/app';
  export { default } from '@firebase/app';</p>
  <p>var name = &quot;firebase&quot;;
  var version = &quot;8.8.1&quot;;
  ........
  }</p>