Why must images be imported for Webpack?
Understanding your build system
4 min readJul 12, 2020
As you migrate from legacy, vanilla code systems towards advanced build systems and single-page applications, you may notice some changes that don’t make immediate sense. There are additional steps that are a bit unintuitive, and it’s not clear what problem is being solved. One such difference is that <img src="./file.gif" />
no longer works…