graphql-directive-computed-property
graphql-directive-computed-property copied to clipboard
babel: command not found
npm install graphql-directive-computed-property fails. : /
To reproduce:
mkdir babelNotfound
npm install graphql-directive-computed-property
Babel is in devDependencies, but it's actually required to build this package. Not every project has Babel as a dependency, so the options are:
- Include it as a regular dependency. : /
- For distribution to npm include the build.
See: https://github.com/bookercodes/articles/blob/master/how-to-build-and-publish-es6-npm-modules-today-with-babel.md
@JakeHartnell definitely it should be bundled before release so I'll try to do or if you want PR is welcome :)