This PR adds the buffer dependency, so we don't need to rely on bundlers outdated magic injections, webpack 5 will actually stop injecting node globals and electron renderer also has issues with undefined node globals depending on how the users compiles and runs the code.
This PR adds the
buffer
dependency, so we don't need to rely on bundlers outdated magic injections, webpack 5 will actually stop injecting node globals and electron renderer also has issues with undefined node globals depending on how the users compiles and runs the code.