graphql-compose / graphql-compose/graphql-compose-elasticsearch
node module `fs` is not supported in client environments
Open
- Dominant language
- TypeScript
- Stars
- 584
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
It would be better to import the required files from `elasticsearch.js` rather than utilizing the `fs` module to read them from disk. Client-side environments do not have access to the `fs` module, and all the code can be accessed with an `import` or `require` statement instead, which would allow this library to run on client and server environments.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.