streamr-dev / network

Monorepo containing all the main components of Streamr Network.
574 stars 38 forks source link

refactor(browser-test-runner): Remove redundant `NodePolyfillPlugin` options #2843

Closed teogeb closed 3 weeks ago

teogeb commented 3 weeks ago

The options are not needed, because most of the modules are already included by default: https://github.com/Richienb/node-polyfill-webpack-plugin/blob/08f793b9698e858adc9373facc2b915e18d4a0a9/index.js#L23

The only exception is the process module. It is not included by default, but we use a separate plugin for it:

new webpack.ProvidePlugin({
    process: 'process/browser'
})