Skip to content

Commit

Permalink
fix: remove browser field with umd bundle (#541)
Browse files Browse the repository at this point in the history
The `browser` field has a priority over `module` field in all bundlers. Adding it to package.json drops all goodness of esm bundle.
  • Loading branch information
TrySound authored and Claudéric Demers committed Jul 28, 2019
1 parent 1c69772 commit d3b30fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"source": "src/index.js",
"main": "dist/react-sortable-hoc.js",
"umd:main": "dist/react-sortable-hoc.umd.js",
"browser": "dist/react-sortable-hoc.umd.js",
"module": "dist/react-sortable-hoc.esm.js",
"jsnext:main": "dist/react-sortable-hoc.esm.js",
"types": "types/index.d.ts",
Expand Down

0 comments on commit d3b30fd

Please sign in to comment.