react-brunch
Advanced tools
+2
-0
@@ -13,2 +13,4 @@ // Generated by CoffeeScript 1.6.3 | ||
| ReactCompiler.prototype.pattern = /\.jsx/; | ||
| function ReactCompiler(config) { | ||
@@ -15,0 +17,0 @@ var _ref, _ref1, _ref2; |
+2
-2
| { | ||
| "name": "react-brunch", | ||
| "version": "1.0.3", | ||
| "version": "1.0.4", | ||
| "description": "Adds React.js support to brunch.", | ||
@@ -25,3 +25,3 @@ "author": "Matt McCray", | ||
| "dependencies": { | ||
| "react-tools": "~0.5.0" | ||
| "react-tools": "~0.8.0" | ||
| }, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
+11
-0
@@ -5,2 +5,4 @@ ## react-brunch | ||
| ### Optional | ||
| You can configure react-brunch to automatically insert a react header | ||
@@ -27,2 +29,11 @@ (`/** @jsx React.DOM */`) into all `*.jsx` files. Disabled by default. | ||
| ### Notes | ||
| react-brunch only supports compiling `*.jsx` files. It doesn't peek at `*.js` to | ||
| see if they have the React-ify comment header. I doubt it ever will. Here's why: | ||
| Any `.js` file should be browser loadable. Embedding JSX will break in any JS | ||
| environment. Therefore, I chose to have react-brunch only pre-processes `.jsx` | ||
| files. | ||
| ## Usage | ||
@@ -29,0 +40,0 @@ Install the plugin via npm with `npm install --save react-brunch`. |
4510
9.71%31
3.33%75
17.19%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated