[Feature Req]: Can we include `fs` module polyfill to the plugin?
AkshitAggarwal opened this issue · 4 comments
AkshitAggarwal commented
This plugin is super helpful, so far most of the core modules are included as I can see. But I had to include the polyfill for fs
module separately. Can we include that in the global plugin itself?
Richienb commented
Which fs polyfill is used?
afonsojramos commented
Richienb commented
@afonsojramos What's the user experience with using 'fs': false
?
Does it necessitate adding a note about it in the readme?
afonsojramos commented
The point of this repo is to facilitate polyfills, and since there is no polyfill for fs
, we might as well set it to false
to set it as an empty implementation. Even some upgrade guides of webpack v4 to v5 suggest it.