vercel / nft

Node.js dependency tracing utility
https://npmjs.com/@vercel/nft
MIT License
1.31k stars 136 forks source link

fix: Support browser overrides in package.json #424

Closed dvoytenko closed 4 months ago

dvoytenko commented 4 months ago

browser section package.json is used to expand a list of dependent files. The downstream build tool would normally do the right thing and use the browser section for bundling correctly. I tested the bundling itself on esbuild and WebPack, and it works correctly. All that's needed is to make sure the files are there.

github-actions[bot] commented 4 months ago

:tada: This PR is included in version 0.27.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: