mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 00:20:28 +01:00
Follow up to #31725. I diffed against the Turbopack one to find any unexpected discrepancies. Some parts are forked enough that it's hard to diff but I think I got most of it.
7 lines
194 B
JavaScript
7 lines
194 B
JavaScript
'use strict';
|
|
|
|
throw new Error(
|
|
'The React Server Writer cannot be used outside a react-server environment. ' +
|
|
'You must configure Node.js using the `--conditions react-server` flag.'
|
|
);
|