I am trying to use a logging framework (log4js-node) within create react app however, this framework requires the node core module 'cluster'. i can only get this to work with Webpack if cluster:'empty' is added to the Webpack config, as below:
node: {
dgram: 'empty',
fs: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty',
cluster: 'empty'
},
is it possible for this to be added?
Thank you