react-docgen
react-docgen copied to clipboard
Webpack problem with fs module
For webpack project, using the react-docgen cause compiling errors because fs is not available in browser environment. I have to add:
{
node: {
fs: 'empty'
}
}
Thanks for reporting. I will need to investigate, as we do not use "fs" directly in react-docgen and babel should correctly mock it away already. Anyway I will check.
We are also seeing this error. It appear it could be linked to this issue: https://github.com/thlorenz/convert-source-map/issues/64