lasso-jsx

3.0.0 • Public • Published

lasso-jsx

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.

Install

$ npm install --save lasso-jsx

Usage

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.

/lasso-jsx/

    Package Sidebar

    Install

    npm i lasso-jsx

    Weekly Downloads

    1

    Version

    3.0.0

    License

    MIT

    Last publish

    Collaborators

    • dylanpiercey
    • mlrawlings
    • austinkelleher
    • philidem
    • pnidem