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
{{ message }}
This repository was archived by the owner on May 30, 2024. It is now read-only.
When I tested LD in a dummy repo it ran perfectly fine. I've now included it in our product but webpack will not compile it with many package errors - for example:
ERROR in ../node_modules/ldclient-node/file_data_source.js
Module not found: Error: Can't resolve 'fs' in '/Users/me/Repos/fluidly-web/node_modules/ldclient-node'
The proper course is the ask the module author to make the module browser compatible.
The author can add `browser: { fs: false, child_process: false }` to the `package.json` to tell webpack that it's ok for the module to get an empty object for these modules.