A React JSX filter for broccoli.
npm install --save broccoli-react
var filterReact = require('broccoli-react');
tree = filterReact(tree);
Type: Array
Default: ['jsx']
Specify the extensions for the source files.
Type: Object
Default: {}
Specify options for babel, useful for e.g. plugins, transforms etc.
tree = filterReact(tree, {
extensions: ['js'],
babelOptions: { plugins: ["transform-class-properties"] }
});