Skip to content

Provide empty mock for dgram module #2584

Closed
@micopiira

Description

@micopiira

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions