From d7212c1bd4354ea5a7941716a7651a0aa0dc7ff9 Mon Sep 17 00:00:00 2001 From: Simon Carpinter Date: Tue, 13 Sep 2016 21:53:54 +1200 Subject: [PATCH] Add support for jsnext:main * fix typo (`jsnext:main`, not `jsmain:next`) * include `src/` in distributed version so that `jsnext:main` references a real artifact --- client/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index bcf53c7c2..7b26f9e52 100644 --- a/client/package.json +++ b/client/package.json @@ -53,7 +53,7 @@ "webpack": "^1.12.14" }, "main": "lib/index.js", - "jsmain:next": "src/index.js", + "jsnext:main": "src/index.js", "repository": { "type": "git", "url": "https://github.com/rethinkdb/horizon.git" @@ -73,7 +73,8 @@ "dist/horizon-core.js.map", "dist/horizon-core-dev.js", "dist/horizon-core-dev.js.map", - "lib/*" + "lib/*", + "src/*" ], "babel": { "presets": [