You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
It would be better to import the required files from
elasticsearch.js
rather than utilizing thefs
module to read them from disk. Client-side environments do not have access to thefs
module, and all the code can be accessed with animport
orrequire
statement instead, which would allow this library to run on client and server environments.The text was updated successfully, but these errors were encountered: