1.1.7 • Published 9 years ago

optimizer-jsx v1.1.7

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

optimizer-jsx

This Node.js module is a plugin for the RaptorJS Optimizer, that provides support to precompile Facebook React JSX files with the .jsx extension into JavaScript.

Install

$ npm install --save optimizer-jsx

Usage

In your dependencies list in optimizer.json, just go ahead and all your source .jsx files

[
    "main.jsx",
    "components/toolbar.jsx",
    ...
]

And add optimizer-jsx as the required plugin in optimizer-config.json

{
	"plugins": [
	    "optimizer-jsx"
	    ...
	],
	...
}

The JSX directive /** @jsx React.DOM */ is automatically prepended to .jsx files if missing.

1.1.7

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0-beta

10 years ago