jsx-loader
jsx-loader copied to clipboard
Does jsx-loader support ES6 Spread operator ...
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 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.