ruby-babel-transpiler icon indicating copy to clipboard operation
ruby-babel-transpiler copied to clipboard

Support for .babelrc?

Open butsjoh opened this issue 9 years ago • 1 comments

Does the transpiler respect the .babelrc file for including extensions?

I am using react-rails and i would like to include https://github.com/gaearon/react-transform-catch-errors as well. This is possible through adding it to the .babelrc file. I tried but it is not doing anything. I am expecting to much? :)

Would like to have some thoughts on my issue.

butsjoh avatar Nov 27 '15 09:11 butsjoh

I'm pretty sure that .babelrc works only for babel-cli. Ruby-babel-transpiler works in isolated ExecJS environment and doesn't take .babelrc for configuration.

ralekna avatar Nov 27 '15 09:11 ralekna