mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
* Use single entry point for SSR via browser field * Add server.browser entry point and smoke tests * Tweak bundle naming * Fix import * Re-record * Fix the robot nits * Add resetModules for some extra isolation
8 lines
228 B
JavaScript
8 lines
228 B
JavaScript
'use strict';
|
|
|
|
if (process.env.NODE_ENV === 'production') {
|
|
module.exports = require('./cjs/react-dom-server.browser.production.min.js');
|
|
} else {
|
|
module.exports = require('./cjs/react-dom-server.browser.development.js');
|
|
}
|