Skip to content

Please publish a version precompiled to ES5 on npm #2

Description

@richardwestenra

This library prevents create-react-app from building, because it's published to npm in ES6.

See https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify

It looks like you're publishing a built directory, but it might not be transpiled? Either that or maybe that the main prop in package.json is pointing to /index.js, which refers to the files in lib, not in dist - not sure whether that's intentional for the npm package?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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