es6-react-mixins icon indicating copy to clipboard operation
es6-react-mixins copied to clipboard

remove react from npm disctribution

Open vaukalak opened this issue 8 years ago • 3 comments

when installing from npm, there'e a directory node_modules/es6-react-mixins/node_modules/react/.

This cause @provideModule duplication issue (at least with react-native).

vaukalak avatar Jun 23 '16 09:06 vaukalak

this is expected and necessary - react is required by mixin.js

angus-c avatar Jul 02 '16 04:07 angus-c

@angus-c you should add it as dependency in package.json. ok I'll fork that and will try to show you an example.

vaukalak avatar Jul 02 '16 07:07 vaukalak

It is already a dependency

  "dependencies": {
    "babel-runtime": "^5.8.25",
    "react": "^0.13.3"
  },

angus-c avatar Jul 02 '16 18:07 angus-c