title: Parcel won't load images in my javascript file
body: <p>I am using the parcel bundler for my website.</p>
  <p>I've been trying to use gsap to change the <code>src</code> attribute of an <code>&lt;img&gt;</code> tag. This change happens when the user clicks on a <code>&lt;button onclick=&quot;changeImage()&quot;&gt;</code>. However, the localhost:1234 server doesn't show this change at all. Can parcel change images of my website after build time?</p>
  <p>my html snippet:</p>
  <pre><code>&lt;img class=&quot;mercury_image&quot; src=&quot;images/mercury.png&quot;/&gt;
  &lt;button onclick=&quot;changeImage()&quot;&gt; Click here &lt;/button&gt;
  </code></pre>
  <p>my javascript snippet</p>
  <pre><code>function changeImage() {
      gsap.timeline()
      .set(&quot;.mercury_image&quot;, {
         attr: {src: &quot;images/differentImage.png&quot;}
    })
  }
  </code></pre>