Skip to content

Question: sideEffects flag in package.json #155

@oafx

Description

@oafx

Hi,

this is more of a question as I'm pretty new to the whole tree-shaking and side-effects topic but i've noticed that it's not possible to just import a single module i.e. { el } from redom without having the whole redom package in the bundle.

While this may totally make sense I still figured I'd ask if it would be possible to set this flag in your package and if not then why. Maybe your answer will help me understand the whole topic a bit better :)

Thanks
Chris

P.S.: great work with this package!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions