Replies: 1 comment
-
Because you have |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug report
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
I have used electron-react-boilerplate to build my app which use
webpack 5
. When I useconst fs = require('fs')
, it returnundefined
. Appreciate if anyone has some suggestion.The
webpack.config.ts
is as following:What is the expected behavior?
it should return the node native fs for
const fs = require('fs)
instead ofundefined
Other relevant information:
webpack version:
Node.js version:
Operating System:
Additional tools:
Beta Was this translation helpful? Give feedback.
All reactions