eslint-plugin-import
eslint-plugin-import copied to clipboard
Importing node packages gives "missing extension" error
import pak from "pak"
Maybe not a bug, but generally how do you solve this without turning the extensions rule off?
closing as dupe of #414, let me know if I am misunderstanding
Nope, the issue arises if an npm package named "pak" is imported as import pak from "pak", with its entry point called "pak.js". It is different from having "pak/index.js" as its entry point.