Open saschanaz opened 1 month ago
Node.js can do this:
// in package foo, in test script: import foo from "foo"; // import itself for test!
It seems import/no-unresolved can't handle this.
That functionality comes from the exports field, which resolve does not yet support, and therefore neither do we. When it gets it, so will we.
exports
resolve
Node.js can do this:
It seems import/no-unresolved can't handle this.