Closed dnalborczyk closed 5 years ago
Hi @dnalborczyk!
You have to configure the "mainFields" option to specify which module fields are picked up. If you're specifying the mainFields option and it's still not picking it up then you'll likely need to use the force
option to override the default package option.
You have to configure the "mainFields" option to specify which module fields are picked up.
ah, cool. thank you! that works!
esm
does not seem to pick up themodule
field inpackage.json
of a 3rd party module. I was under the impression that it did at some point in time. Is that intentional?I looked through some issues, but couldn't find a definitive answer:
e.g. mentions only mjs files: https://github.com/standard-things/esm/issues/627