broccoli-react

    0.9.0 • Public • Published

    broccoli-react Build Status

    A React JSX filter for broccoli.

    Installation

    npm install --save broccoli-react

    Usage

    var filterReact = require('broccoli-react');
    tree = filterReact(tree);

    Options

    extensions

    Type: Array Default: ['jsx']

    Specify the extensions for the source files.

    babelOptions

    Type: Object Default: {}

    Specify options for babel, useful for e.g. plugins, transforms etc.

    tree = filterReact(tree, {
      extensions: ['js'],
      babelOptions: { plugins: ["transform-class-properties"] }
    });

    Install

    npm i broccoli-react

    DownloadsWeekly Downloads

    177

    Version

    0.9.0

    License

    MIT

    Unpacked Size

    6.56 kB

    Total Files

    13

    Last publish

    Collaborators

    • eddhannay
    • pswai
    • rickharrison