clinch.jsx

    0.14.4 • Public • Published

    Dependency Status Build Status

    clinch.jsx

    This is external addon for clinch - CommonJS to browser packer to support React .jsx files.

    This version have ES2015 support, with additional option es2015 : yes.

    How to use

    Clinch = require 'clinch'
    clinch_jsx = require 'clinch.jsx'
    
    # create packer object
    packer = new Clinch runtime : on
    # add plugin (chainable)
    packer.addPlugin clinch_jsx
    # or add plugin with es2015 option
    packer.addPlugin clinch_js6 es2015 : yes
    

    For more information see main module documentation.

    Options

    es2015

    Use options es2015 to set up ES2015 support.

    packer.addPlugin clinch_js6 es2015 : yes
    

    About React version

    React grow fast and add new features and drop old one in every new releases, so clinch.jsx have some version for all minor React version.

    This is 0.14 version, used for React 0.14 branch, where react-tools was deprecated and .jsx compiled by Babel. For options see Babel options.

    Install

    npm i clinch.jsx

    DownloadsWeekly Downloads

    2

    Version

    0.14.4

    License

    MIT

    Last publish

    Collaborators

    • meettya