Skip to content

Use a module loader to offer CJS & Harmony exports for the package.json #2

Open
@code-for-coffee

Description

@code-for-coffee

Currently we just ship the package and tell people they need to update their babel configs to use this. That is sort of unfair since we use a non-standard feature (classnames) so we should use Webpack, Parcel, or Rollup to bundle and provide more than the current Babel exports.

Rollup has a good read on this: https://github.com/rollup/rollup/wiki/pkg.module

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions