From 8e3fb2c74c3415788935df05cf67db99a55c0724 Mon Sep 17 00:00:00 2001 From: James Baxley Date: Thu, 25 Jan 2018 09:15:30 -0500 Subject: [PATCH] update prepare script --- scripts/prepare-package.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/prepare-package.sh b/scripts/prepare-package.sh index c71b13277b..b40631334a 100755 --- a/scripts/prepare-package.sh +++ b/scripts/prepare-package.sh @@ -16,7 +16,8 @@ node -e "var package = require('./package.json'); \ delete package[\"husky\"]; \ delete package.scripts; \ delete package.options; \ - package.main = 'index.js'; \ + package.main = 'react-apollo.umd.js'; \ + package.browser = 'react-apollo.browser.umd.js'; \ package.module = 'index.mjs'; \ package.typings = 'index.d.ts'; \ var origVersion = 'local';