Skip to content

Commit

Permalink
fix: revert change for package.json -> "browser"
Browse files Browse the repository at this point in the history
browserify doesn't seem to like esm. leave that entry point alone, and ensure "exports" -> "browser" (which webpack@5 uses) is esm.
  • Loading branch information
AviVahl committed Jun 4, 2023
1 parent 564921a commit 6e3f36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"LICENSE",
"README.md"
],
"browser": "./pkg/sinon-esm.js",
"browser": "./lib/sinon.js",
"main": "./lib/sinon.js",
"module": "./pkg/sinon-esm.js",
"exports": {
Expand Down

0 comments on commit 6e3f36e

Please sign in to comment.