Skip to content

Commit

Permalink
[js/web] remove "browser" field in package.json (microsoft#20021)
Browse files Browse the repository at this point in the history
### Description

Field "browser" is deprecated in favor of "exports". Removes the unused
field.

Some bundler may read from "browser" and generate errors. Removing this
field should let bundler to look up "exports". Fixes microsoft#19915
  • Loading branch information
fs-eire authored Mar 26, 2024
1 parent bc78d21 commit 603a377
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"license": "MIT",
"browser": "dist/ort-web.min.js",
"unpkg": "dist/ort.min.js",
"name": "onnxruntime-web",
"repository": {
Expand Down

0 comments on commit 603a377

Please sign in to comment.