react/grunt/config/jsx.js

26 lines
433 B
JavaScript

'use strict';
var grunt = require('grunt');
var rootIDs = [
'React',
'ReactWithAddons',
// deprecated is used in the npm package but not anywhere else, so build it.
'deprecated',
];
var normal = {
rootIDs: rootIDs,
getConfig: function() {
return {
commonerConfig: grunt.config.data.pkg.commonerConfig,
};
},
sourceDir: 'src',
outputDir: 'build/modules',
};
module.exports = {
normal: normal,
};