If you’ve been working with JavaScript for a while, you’ve probably seen both require() and import/export used to bring code into a file. At first glance, they seem to do the same thing — import ...