-
Notifications
You must be signed in to change notification settings - Fork 34
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
Problems with babel-polyfill and debug #32
Comments
Hi - how are you starting this commands? Could you give me some repro steps as when I run |
I simplified your code for my case So this one doesn't work:
And this works fine:
Everything else is pretty same. Maybe it's because I'm running it on windows 10. |
how are you starting this command? babel needs to know that it should be applied to the files still, so you would either need to compile it with babel or start using I prefer to use the babel-register in combination with a babelrc. The problems you're facing aren't with this boilerplate as you've changed the boilerplate. Your problems are with using babel the way you expect to. |
Hi, I'm trying this boilerplate for one of my personal projects. Two problems that I faced at the very beginning:
require("babel-register")({ presets: [ 'es2015', 'react', 'stage-0'], plugins: [ "add-module-exports", "babel-root-import", "react-require", ["provide-modules", { "debug": "debug" }] ] });
It seems that it ignores .babelrc. So how can I fix it without calling require("babel-register") explicitely/
Thanks.
The text was updated successfully, but these errors were encountered: