Skip to content

Support for ESM added, then removed? #160

@tannerstern

Description

@tannerstern

Hey @davidmerfield!

Thanks for this package, it's a neat and simple tool that I find really useful, especially for seeding colors based on inputs.

I wanted to ask a question though: I see ESM support was added in #134 but then shortly after was removed in ff971fa. I'm wondering, was that on account of the changes from the PR breaking use of this module in other environments? That seems like what was going on. Since the version of this package available on npm is Node-first (non-browser compatible), it makes sense that going fully ESM would cause issues.

Maybe I've answered my own question, but at any rate, ESM-native imports would be a nice thing to have, especially through npm. Do you plan on re-adding ESM support in the future (of course, this being open-source I am not asking or demanding anything, just curious if that's a direction you are planning to go in).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions