Skip to content

Commit

Permalink
[js/web] remove "browser" field in package.json (#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 #19915
  • Loading branch information
fs-eire authored Mar 26, 2024
1 parent 0313dd1 commit 050085a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/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 050085a

Please sign in to comment.