Native JSON modules are finally real
For years we’ve been writing this: import config from "./config.json"; It looked like native JavaScript module syntax. But it wasn’t. Your bundler stepped in at build time, read the JSON file, turned it into a JavaScript module, and made it feel native. The browser itself wasn’t treating JSON as a...