Skip to content

node module fs is not supported in client environments #62

Open
@floydnoel

Description

@floydnoel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions