
Why module Node16 breaks a Vite extension and how to fix it
Nine TypeScript errors at once, all about missing .js extensions in imports. The cause is a tsconfig.json setting that is correct for Node.js but incompatible with Vite as a bundler. I explain why and show the right configuration.