diff options
| author | Jason Miller <[email protected]> | 2017-04-17 13:27:01 -0400 |
|---|---|---|
| committer | Jason Miller <[email protected]> | 2017-04-17 13:27:01 -0400 |
| commit | 0cad092b7f0f1212a73e8592011dbab8a1806577 (patch) | |
| tree | 19e788bed9021a2018d3301b9f9691b31d98cc7b /package.json | |
| parent | fcc6cce7d5f25d021b7c1eda8320c2697b08984c (diff) | |
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
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
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", |
