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

ReferenceError: [BABEL] ../assets/javascripts/i18n/_stream_0.js: Unknown option: ./.babelrc.presets while parsing file: ./app/assets/javascripts/i18n/_stream_0.js #165

Open
AlexCppns opened this issue May 5, 2016 · 2 comments

Comments

@AlexCppns
Copy link

Is there a way to configure browserify to not use my .babelrc file?

@AlexCppns AlexCppns changed the title eferenceError: [BABEL] /var/www/portal/app/assets/javascripts/i18n/_stream_0.js: Unknown option: /var/www/portal/.babelrc.presets while parsing file: /var/www/portal/app/assets/javascripts/i18n/_stream_0.js ReferenceError: [BABEL] ../assets/javascripts/i18n/_stream_0.js: Unknown option: ./.babelrc.presets while parsing file: ./app/assets/javascripts/i18n/_stream_0.js May 5, 2016
@cymen
Copy link
Member

cymen commented May 12, 2016

I'd suggest asking on the browserify github if you haven't yet -- I'm not sure (was hoping someone else would chime in but nobody has so far).

@cguillemette
Copy link
Contributor

@AlexCppns I think you could get rid of your .babelrc and simply add arguments through "config.browserify_rails.commandline_options".

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

3 participants