babel-relay-plugin-loader
babel-relay-plugin-loader copied to clipboard
Breaks when installed via pnpm or ied
I guess this line (https://github.com/BerndWessels/babel-relay-plugin-loader/blob/master/index.js#L7) breaks compatibility in non-standard cases.
@schickling Can you explain a bit further.
I haven't used pnpm or ied ever - not even heard about it until now.
I am happy to take PRs or make you a collaborator if you like to provide a fix.
Cheers Bernd
Almost the same problem with jspm: package.json is assumed to be at the location ../.. from this module.
I guess it could be possible to pass an option to the plugin containing the path to the schema.json instead of loading it from package.json?
@IcanDivideBy0 sure, would be great if you could provide a PR and I can pull it then, or if you like you can become a collaborator of this repo. Cheers Bernd