title: Firebase Chrome extension generating error
body: <p><a href="https://i.stack.imgur.com/gMXrq.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>the code in the HTML file is:</p>
  <pre><code>&lt;script src=&quot;https://www.gstatic.com/firebasejs/9.1.2/firebase-app.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;https://www.gstatic.com/firebasejs/9.1.2/firebase-database.js&quot;&gt;&lt;/script&gt;
  &lt;script src=&quot;firebase.js&quot;&gt;&lt;/script&gt; 
  </code></pre>
  <p>And the <code>firebase.js</code> has this code:</p>
  <pre><code>  // Import the functions you need from the SDKs you need
    // import { initializeApp } from &quot;https://www.gstatic.com/firebasejs/9.1.2/firebase-app.js&quot;;
    // TODO: Add SDKs for Firebase products that you want to use
    // https://firebase.google.com/docs/web/setup#available-libraries
  
  function initializeApp() {
    // Your web app's Firebase configuration
    const firebaseConfig = {
      apiKey: &quot;XXXXXXXXXXXXXXXXXXXXX&quot;,
      authDomain: &quot;coupon-finder-73300.firebaseapp.com&quot;,
      projectId: &quot;coupon-finder-73300&quot;,
      storageBucket: &quot;coupon-finder-73300.appspot.com&quot;,
      messagingSenderId: &quot;432596469035&quot;,
      appId: &quot;1:432596469035:web:54b907640f9065fc33b16e&quot;
    };
  
    // Initialize Firebase
    const app = initializeApp(firebaseConfig);
    console.log(app);  
  }
  </code></pre>
  <p>The folder is load unpacked in the chrome extension, and there it generates no error, but as shared in the image above when I browse that file in the browser it generates an error:</p>
  <pre><code>Uncaught SyntaxError: Unexpected token 'export'
  firebase-database.js:1 Uncaught SyntaxError: Cannot use import statement outside a module
  </code></pre>
  <p>what step should I do to troubleshoot?</p>