Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[js/web] add "browser" field to support parcel v2 (microsoft#20422)
### Description As described in latest discussion in microsoft#19915, parcel v2 without using the [new resolver](https://parceljs.org/blog/v2-9-0/#new-resolver) will not work correctly with onnxruntime-web. There are still users who uses parcel with default resolver, so add this deprecated field "browser" back for backward compatibility. This PR also corrects the "main" field, which is for old resolver for Node.js.
- Loading branch information