We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e44f02e commit 6da4e64Copy full SHA for 6da4e64
packages/react-scripts/config/webpack.config.dev.js
@@ -275,6 +275,7 @@ module.exports = {
275
// Some libraries import Node modules but don't use them in the browser.
276
// Tell Webpack to provide empty mocks for them so importing them works.
277
node: {
278
+ dgram: 'empty',
279
fs: 'empty',
280
net: 'empty',
281
tls: 'empty',
packages/react-scripts/config/webpack.config.prod.js
@@ -341,6 +341,7 @@ module.exports = {
341
342
343
344
345
346
347
0 commit comments