This Node.js module is a plugin for the Lasso.js, that provides support to precompile Facebook React JSX files with the .jsx
extension into JavaScript.
$ npm install --save lasso-jsx
In your dependencies list in browser.json
, just go ahead and all your source .jsx files
[ "main.jsx", "components/toolbar.jsx", ... ]
And add lasso-jsx
as the required plugin in lasso-config.json
{ "plugins": [ "lasso-jsx" ... ], ... }
The JSX directive /** @jsx React.DOM */
is automatically prepended to .jsx
files if missing.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4