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

Does it support CommonJS style ES6 code? #17

Open
anildigital opened this issue Jun 17, 2015 · 4 comments
Open

Does it support CommonJS style ES6 code? #17

anildigital opened this issue Jun 17, 2015 · 4 comments

Comments

@anildigital
Copy link

Basically I am currently using requirejs, but wanted to use CommonJS style code with ES6 support?

Doest sbt-reactjs support writing it?

@anildigital
Copy link
Author

is getting

Parse Error: Line 1: Illegal import declaration

for line

import React from 'react'

at the file top

@dispalt
Copy link
Owner

dispalt commented Jun 17, 2015

I am not sure how to expose that, I haven't worked on this stuff in a while, but would be open to patches or suggestions.

@Amadeus82
Copy link

Hi guys
I am currently facing the same issue and was wondering whether you found a solution meanwhile.
Bundling is crucial for our application and for now!

@JohnnyBrave
Copy link

Hey guys, was a solution found?

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

4 participants