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

Support esm with package.json routers #296

Merged
merged 1 commit into from Jul 3, 2019

Conversation

TrySound
Copy link
Contributor

@TrySound TrySound commented Jun 9, 2019

Similar to react-transition-group approach. Also added babel runtime with esm helpers.

Closes #282

@TrySound
Copy link
Contributor Author

TrySound commented Jun 9, 2019

Looks like lint errors are unrelated.

@taion
Copy link
Member

taion commented Jun 10, 2019

On the runtime thing as well, see reactjs/react-transition-group#507. I think it's a bug in the Babel preset.

@TrySound
Copy link
Contributor Author

Runtime is used for both cjs and esm here.

@jquense
Copy link
Member

jquense commented Jun 10, 2019

lint errors are expected, it's been in a bad state since #288 i've not quite gotten to it yet

@taion
Copy link
Member

taion commented Jun 10, 2019

Ah, I see – you're adding the runtime transform here.

Similar to react-transition-group approach. Also added babel runtime and
removed prop-types-extra package (which is not used already).
@TrySound
Copy link
Contributor Author

TrySound commented Jul 3, 2019

@jquense Lint is fixed. Could you merge?

@jquense jquense merged commit c3d13ba into react-bootstrap:master Jul 3, 2019
@TrySound TrySound deleted the esm branch July 3, 2019 16:56
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

Successfully merging this pull request may close these issues.

None yet

3 participants