Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Browser #1578

Merged
merged 4 commits into from
Jan 25, 2018
Merged

Browser #1578

merged 4 commits into from
Jan 25, 2018

Conversation

jbaxleyiii
Copy link
Contributor

@rosskevin in my testing the inclusion of react-dom blew up ReactNative and some older build systems. Also, without a single bundle, we can't support usage of unpkg.org which I'd like to keep for people using it!

This also fixes the precommit hooks with husky which weren't working previously and removes using yarn since its not a required part of the node ecosystem

@rosskevin
Copy link
Contributor

@jbaxleyiii it looks like you removed husky - which is the precommit hook, and added a script called precommit, which is not using git hooks. So we have no more git hook. What am I missing?

@@ -3,48 +3,45 @@
"version": "2.1.0-alpha.0",
"description": "React data container for Apollo Client",
"module": "src/index.ts",
"browser": "lib/react-apollo.browser.umd.js",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jbaxleyiii I don't understand why this change was necessary. Doesn't it mean that eg. Webpack cannot do tree shaking? Besides it's broken altogether :) #1591 and this is from debugger

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants