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 jsx-loader support ES6 Spread operator ... #32

Open
ruifortes opened this issue Dec 2, 2014 · 1 comment
Open

Does jsx-loader support ES6 Spread operator ... #32

ruifortes opened this issue Dec 2, 2014 · 1 comment

Comments

@ruifortes
Copy link

Does jsx-loader support ES6 Spread operator (...)
I want to use "react-style" but it uses the spread operator and I get an "Unexpected token ." has soon has I require it.
I'm using the harmony flag: {test: /.jsx$/, loader: 'jsx-loader?harmony'}

@ruifortes ruifortes changed the title Does jdsx-loader support ES6 Spread operator ... Does jsx-loader support ES6 Spread operator ... Dec 2, 2014
@julen
Copy link

julen commented Dec 31, 2014

@ruifortes realize that react-style's files have a .js extension (there's no JSX in the library), and your module loader config only matches .jsx extensions.

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

2 participants