You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'}
The text was updated successfully, but these errors were encountered:
ruifortes
changed the title
Does jdsx-loader support ES6 Spread operator ...
Does jsx-loader support ES6 Spread operator ...
Dec 2, 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.
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'}
The text was updated successfully, but these errors were encountered: