jsx-loader
jsx-loader copied to clipboard
JSX loader for webpack
``` loaders: [{ test: /\.js$/, loaders: [ 'babel-loader?presets[]=react' ], exclude: /node_modules/, }] ``` It is wrong. ``` loaders: [{ test: /\.js$/, loaders: [ 'jsx-loader?insertPragma=React.DOM&harmony' ], exclude: /node_modules/, }] ``` It...
Implementing sourcemaps according to the feedback from @sokra. I also merged in the latest changes from master.
[Babel](https://babeljs.io) is handling `jsx` loading now. But most users will not notice this if they just install it via `npm i --save jsx-loader`. @petehunt If you could just `npm deprecate...
Fixes #45.
https://babeljs.io/docs/learn-es2015/#default-rest-spread
specifying the type and URL is deprecated: https://docs.npmjs.com/files/package.json#license http://npm1k.org/ Updating license to "Apache-2.0" per https://spdx.org/licenses/
All these logs from warnings are getting really annoying, and I can't find any reason why they would be happening. They only started recently (like 2 weeks) though -- no...
Please add support for [ES6 modules](https://github.com/facebook/react/pull/3143).
This enables passing all React Tools options, like target=es3, which was our motivation for this pull request.
this will save some time bumping versions every time a new version of react is released, fixes #29