Skip to content

Commit d3b30fd

Browse files
TrySoundClaudéric Demers
authored and
Claudéric Demers
committed
fix: remove browser field with umd bundle (#541)
The `browser` field has a priority over `module` field in all bundlers. Adding it to package.json drops all goodness of esm bundle.
1 parent 1c69772 commit d3b30fd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"source": "src/index.js",
1212
"main": "dist/react-sortable-hoc.js",
1313
"umd:main": "dist/react-sortable-hoc.umd.js",
14-
"browser": "dist/react-sortable-hoc.umd.js",
1514
"module": "dist/react-sortable-hoc.esm.js",
1615
"jsnext:main": "dist/react-sortable-hoc.esm.js",
1716
"types": "types/index.d.ts",

0 commit comments

Comments
 (0)