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

Missing babel-runtime dependency #199

Closed
vjpr opened this issue Aug 1, 2018 · 3 comments
Closed

Missing babel-runtime dependency #199

vjpr opened this issue Aug 1, 2018 · 3 comments

Comments

@vjpr
Copy link
Contributor

vjpr commented Aug 1, 2018

It is used in the transpiled output, and should be included as a dep.

This breaks pnpm usage - https://pnpm.js.org/.

@mbrevda
Copy link
Owner

mbrevda commented Aug 1, 2018

How (in what way), specifically, does this break pnpm?

@vjpr
Copy link
Contributor Author

vjpr commented Aug 1, 2018

If you require something, it needs to be specified in the package.json.

NPM flattens your dep tree, so if babel-runtime is required by something else, it will be accessible in your node_modules - which is why you wouldn't normally notice this issue. But this is not reliable. All deps should be explicitly specified.

pnpm does not flatten your dep tree.

@mbrevda
Copy link
Owner

mbrevda commented Aug 1, 2018 via email

mbrevda added a commit that referenced this issue Aug 3, 2018
See CHANGELOG.md for changes. Closes #203, #199, #192
@mbrevda mbrevda closed this as completed Aug 3, 2018
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

2 participants