Replies: 1 comment 27 replies
-
Ping @nodejs/modules
|
Beta Was this translation helpful? Give feedback.
27 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See reproduction: https://github.com/mattfysh/node-subpath-exports
I would assume that when the top-level package does
import 'pkg'
, and the import specifier is resolved via the export map innode_modules/pkg/package.json
under the "import" condition, that the imported module should be assumed to be ESMI believe it should be assumed to be ESM because of the condition under which it was imported.
Instead I get this error:
Beta Was this translation helpful? Give feedback.
All reactions