Conversation
|
As a sanity check I looked at what some of the other Yargs libraries have, and import entry point and https://github.com/yargs/cliui/blob/af3145da0ea31738c4715865a6da0ee388a94c74/package.json#L6-L16 |
|
I note you put (I don't have much experience with bundlers and interested in your reasoning.) |
|
@shadowspawn I added it because this PR may break environments using older versions of bundlers that don't support the I checked when webpack and rollup started supporting exports.
|
|
Thanks for info, and good links. I found a couple of links covering background and usage of the "module" main field: |
|
Thank you for letting me know!
Now, my idea...
I respect your decision. |
modulemodule
This PR fixes #155.
I made the entrypoint specified in the
modulefield the same asexports.