From 603a377b56bc162f385ec72ea7544c591b9104c8 Mon Sep 17 00:00:00 2001 From: Yulong Wang <7679871+fs-eire@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:57:11 -0700 Subject: [PATCH] [js/web] remove "browser" field in package.json (#20021) ### 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 --- web/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/web/package.json b/web/package.json index 55c3a3238bafc..384565dc0da90 100644 --- a/web/package.json +++ b/web/package.json @@ -1,6 +1,5 @@ { "license": "MIT", - "browser": "dist/ort-web.min.js", "unpkg": "dist/ort.min.js", "name": "onnxruntime-web", "repository": {