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

small solution to .babelrc in the examples folder #734

Closed
wants to merge 3 commits into from
Closed

small solution to .babelrc in the examples folder #734

wants to merge 3 commits into from

Conversation

aranajhonny
Copy link
Contributor

Previously #560 , it arose the necessity of having a .babelrc in the examples folder, but that presents failures obvious. error when trying to clone and run only the example

While a better solution is found, the simplest thing is to have "babel": {}, in the package.json

https://hello-world-zfhmvrypyd.now.sh/_src/?f=package.json

},
"babel": {},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not good. This works because, we check for .babelrc existence in the app dir. Unless we add next/babel as the preset by default.

We have to fix it. When we do that, it'll break apps using this.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 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

Successfully merging this pull request may close these issues.

None yet

2 participants