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

Consuming untranspiled packages from npm #5390

Closed
bogdansoare opened this issue Oct 10, 2018 · 1 comment
Closed

Consuming untranspiled packages from npm #5390

bogdansoare opened this issue Oct 10, 2018 · 1 comment

Comments

@bogdansoare
Copy link
Contributor

I know about the discussion about monorepo support, I don't need monorepo support.

I publish my packages (mostly react components that I need to reuse) uncompiled to npm, and when I import them to my CRA app I expect them to work, but they don't

I thought CRA v2 transpiles the node_modules, but apparently it doesn't work ok

@Timer
Copy link
Contributor

Timer commented Oct 10, 2018

All standard JavaScript features are compiled to their ES5 equivalent.
Publishing JSX without compiling it away is very harmful to the ecosystem and is not something we will support.

Please see #5103 (comment) for a more detailed explanation.

@Timer Timer closed this as completed Oct 10, 2018
@lock lock bot locked and limited conversation to collaborators Jan 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants