mirror of
https://github.com/react/react.git
synced 2026-10-15 19:25:03 +08:00
16 lines
536 B
JavaScript
16 lines
536 B
JavaScript
'use strict';
|
|
|
|
var warning = require('fbjs/lib/warning');
|
|
warning(
|
|
false,
|
|
/* eslint-disable no-useless-concat */
|
|
// 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."
|
|
);
|
|
/* eslint-enable no-useless-concat */
|
|
|
|
module.exports = require('./lib/ReactWithAddons');
|