Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please publish a version precompiled to ES5 on npm #2

Open
richardwestenra opened this issue Apr 18, 2018 · 0 comments
Open

Please publish a version precompiled to ES5 on npm #2

richardwestenra opened this issue Apr 18, 2018 · 0 comments

Comments

@richardwestenra
Copy link

richardwestenra commented Apr 18, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant