4 ms·
Use ESM. It's built into the browser. CJS is legacy. Every major JS runtime has module interop built in now. Modules aren't hard anymore.
by jazzypants 2y ago
Use ESM. It's built into the browser. CJS is legacy. Every major JS runtime has module interop built in now.
Modules aren't hard anymore.