Skip to content

Add "sideEffects" to package.json #2918

@filipw01

Description

@filipw01

Bundlers think this library cannot be tree shaken. This results in this workaround in Remix https://remix.run/docs/en/v1/pages/gotchas#server-code-in-client-bundles

I suggest adding "sideEffects field to package.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions