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

Package for v2.1.0 is missing the main file dist/react-promise.cjs.min.js #30

Open
slawomir-brzezinski-at-clarksons opened this issue Mar 1, 2019 · 3 comments

Comments

@slawomir-brzezinski-at-clarksons

Looks like a déjà vu of #9.

See on this package viewer:
https://www.jsdelivr.com/package/npm/react-promise?version=2.1.0&path=dist

Clicking on the main file produces 'not found' error:
https://cdn.jsdelivr.net/npm/react-promise@2.1.0/dist/react-promise.cjs.min.js

All seemed fine in 2.0.3: https://cdn.jsdelivr.net/npm/react-promise@2.0.3/dist/react-promise.cjs.min.js

For our create-react-app setup, this causes problem loading the module for testing by Jest, which makes any component using this module untestable.

@drakonkat
Copy link

I have the same error, in the dist folder not create react-promise.cjs.js, but only react-promise.js. The problem started with version 2.1.0

@supermansi
Copy link

In the latest update, src/ is missing. Can anyone help out?

@kieryk123
Copy link

Hi, I have this problem too when I use NPM package that uses react-promise 2.1.0. Could you help me?

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

5 participants
@supermansi @drakonkat @kieryk123 @slawomir-brzezinski-at-clarksons and others