You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dgram is an node module that provides an implementation of UDP Datagram sockets.
I'm using a package that depends on dgram, but does not need it for the most part. Providing an empty mock for dgram; just like there are empty mocks for fs, net and tls modules would save me from ejecting like in #672.
This should be as simple as adding line: dgram: 'empty' (NOTE: I have not tested this yet!) to the webpack configuration files, I can also provide a PR if you want.
The text was updated successfully, but these errors were encountered:
dgram is an node module that provides an implementation of UDP Datagram sockets.
I'm using a package that depends on dgram, but does not need it for the most part. Providing an empty mock for dgram; just like there are empty mocks for
fs
,net
andtls
modules would save me from ejecting like in #672.This should be as simple as adding line:
dgram: 'empty'
(NOTE: I have not tested this yet!) to the webpack configuration files, I can also provide a PR if you want.The text was updated successfully, but these errors were encountered: