mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
stacked on #27314 Turbopack requires a different module loading strategy than Webpack and as such this PR implements a new package `react-server-dom-turbopack` which largely follows the `react-server-dom-webpack` but is implemented for this new bundler
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.'
|
|
);
|