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

require(false) breaks babel (react validation) #607

Closed
tolmasky opened this issue Nov 27, 2015 · 1 comment
Closed

require(false) breaks babel (react validation) #607

tolmasky opened this issue Nov 27, 2015 · 1 comment

Comments

@tolmasky
Copy link

https://babeljs.io/repl/#?experimental=true&evaluate=true&loose=false&spec=false&code=require(false)

repl: r.toLowerCase is not a function. (In 'r.toLowerCase()', 'r.toLowerCase' is undefined)

it seems React validation expects the literal to be a string.

@jamiebuilds
Copy link
Contributor

Not the appropriate place for bugs in Babel, this is the website repo.

This is also not a problem in Babel 6 as there isn't a react validation plugin anymore

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