From 0cad092b7f0f1212a73e8592011dbab8a1806577 Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Mon, 17 Apr 2017 13:27:01 -0400 Subject: 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 3639ab1..56663bb 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "mitt", "version": "1.1.1", "description": "Tiny 200b functional Event Emitter / pubsub.", - "jsnext:main": "src/index.js", + "jsnext:main": "dist/mitt.es.js", "module": "dist/mitt.es.js", "main": "dist/mitt.js", "umd:main": "dist/mitt.umd.js", -- cgit v1.2.3