Skip to content

Commit 416eb32

Browse files
committed
add console and process to node-polyfill-webpack-plugin
1 parent 5314fa0 commit 416eb32

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/desktop/cypress/webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ module.exports = {
1212
new webpack.ProvidePlugin({
1313
Buffer: ['buffer', 'Buffer'],
1414
}),
15-
new NodePolyfillPlugin()
15+
new NodePolyfillPlugin({
16+
additionalAliases: ['console', 'process', 'punycode']
17+
})
1618
],
1719
module: {
1820
rules: [

0 commit comments

Comments
 (0)