Skip to content

Provide empty mock for dgram module #2584

Closed
@micopiira

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions