Skip to content

"Can't find variable React" after upgrading to v8 #26982

Closed Answered by valentinpalkovic
Foxhoundn asked this question in Help
Discussion options

You must be logged in to vote

So the issue is that the babel-loader first reads your babel configuration from your package.json and therefore ignores babel.config.js. If you remove the babel setting in package.json, you will see, that it will process the configuration in babel.config.js

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@gabro
Comment options

Comment options

You must be logged in to vote
2 replies
@gabro
Comment options

@Foxhoundn
Comment options

Comment options

You must be logged in to vote
5 replies
@Foxhoundn
Comment options

@valentinpalkovic
Comment options

@Foxhoundn
Comment options

@valentinpalkovic
Comment options

Answer selected by Foxhoundn
@Foxhoundn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants