nft.storage icon indicating copy to clipboard operation
nft.storage copied to clipboard

fix: fix typescript nodenext resolution

Open rayzr522 opened this issue 1 year ago • 0 comments

tiny fix here: while your ESModule build is working totally fine, when downstream consumers are set up to use nodenext for their module & moduleResolution settings, typescript reads your package.json and sees that the exports.node points to the src folder and tries to also look there for the typescript typings

as per the typescript docs this just lets typescript know to still keep looking in the dist/src folder for the types :)

rayzr522 avatar Sep 14 '22 19:09 rayzr522