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
Babel error -Using removed Babel 5 option #407
Comments
Hi @jagan-veeraraghavan! How are you including react-dnd in Bower? You should be doing so like this. It looks like you might instead be pointing Bower to the entire Github repo. This won't work because it includes If I'm wrong, feel free to reopen the issue. I'd also recommend the gitter room for support questions like this one. |
HI, I ran in to a similar issue, using webpack and babel 6.
here are my settings: package.json
.babelrc
webpack
anyone can help me out please? |
Ahhh, I fixed it by excluding
|
it solves my problem,thank you very much ! |
This should be a thing. |
@billyjanitsch have you considered updating babel? Would you be open for PR with it? I am running into this problem with Webpack and Babel 6. Similarly as @walter0331. I need to keep this running through my Babel as we're doing custom minification of |
Just to clarify, I think everyone means "babel-loader" rather than "babe-loader".
|
I am trying to upgrade from babel5.x to 6.x and getting this same error. I am using react, redux with babel 6 and webpack. Below is my webpack config(partial) .babelrc { I noticed one thing that this error message appears mostly for the files where i am importing Promise from 'bluebird'. Can anyone help? |
bump. Is there any way to ignore the babel configs of dependencies at build time...? |
@walter0331 thank you very much, this problem doesn't make me so confused until I read your solution. But I don't understand the principle why it can work out by setting like this : exclude: /(node_modules|bower_components). |
@ry928330 basically, the add
|
That’s the right solution. It’s irrelevant what version of Babel |
That said I published a "fix" in |
it's works ,thanks! |
I fixed by add [] |
this happened to me after I inadvertently added
fixed by removing this
|
I am a babel newbie, I setup a new project, installed babel, installed react-dnd via bower and my .babelrc has the following line
{ "presets": ["es2015", "stage-0", "react"] }
Module build failed: ReferenceError:
[BABEL] <path>\bower_components\react-dnd\src\index.js: Using removed Babel 5 option: <path>\bower_components\react-dnd\.babelrc.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets
What am i doing wrong
The text was updated successfully, but these errors were encountered: