Skip to content

Commit 0cad092

Browse files
committed
fix(builds): point jsnext:main to the ESM build instead of src, which contains things like Flowtype annotations that are not stripped by most build tools
1 parent fcc6cce commit 0cad092

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "mitt",
33
"version": "1.1.1",
44
"description": "Tiny 200b functional Event Emitter / pubsub.",
5-
"jsnext:main": "src/index.js",
5+
"jsnext:main": "dist/mitt.es.js",
66
"module": "dist/mitt.es.js",
77
"main": "dist/mitt.js",
88
"umd:main": "dist/mitt.umd.js",

0 commit comments

Comments
 (0)