Skip to content

Please publish a version precompiled to ES5 on npm #2

@richardwestenra

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions