Skip to content

Tree-shaking support #162

@Pikachews

Description

@Pikachews

It appears that this package does not support tree-shaking, as all of the middleware appears in the output webpack bundle even if only a subset are used:

import { batchMiddleware, errorMiddleware, RelayNetworkLayer, urlMiddleware } from "react-relay-network-modern/lib";

...

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions