mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
90f8fe6f55
This PR adds the jsx-runtime and jsx-dev-runtime modules for the JSX Babel Plugin. WWW still relies on jsx/jsxs/jsxDEV from the "react" module, so once we refactor the code to point to the runtime modules we will remove jsx/jsxs/jsxDEV from the "react" module.
8 lines
222 B
JavaScript
8 lines
222 B
JavaScript
'use strict';
|
|
|
|
if (process.env.NODE_ENV === 'production') {
|
|
module.exports = require('./cjs/react-jsx-dev-runtime.production.min.js');
|
|
} else {
|
|
module.exports = require('./cjs/react-jsx-dev-runtime.development.js');
|
|
}
|