mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
14 lines
457 B
JavaScript
14 lines
457 B
JavaScript
'use strict';
|
|
|
|
var warning = require('fbjs/lib/warning');
|
|
warning(
|
|
false,
|
|
// Require examples in this string must be split to prevent React's
|
|
// build tools from mistaking them for real requires.
|
|
// Otherwise the build tools will attempt to build a 'react-addons-{addon}' module.
|
|
'require' + "('react/addons') is deprecated. " +
|
|
'Access using require' + "('react-addons-{addon}') instead."
|
|
);
|
|
|
|
module.exports = require('./lib/ReactWithAddons');
|