react-server-dom-webpack node loader does not support newest ESM loader API

This issue has been tracked since 2022-09-21.

Currently the webpack node loader included react-server-dom-webpack only implements the deprecated transformSource/getSource/resolve ESM loader API, but not the newer (but still unstable) load/resolve API. This makes the loader impossible to use with newer versions of Node (16+... I think?).

Opened a draft PR to fix this here

React version: 0.0.0-experimental-3d615fc14-20220919

Steps To Reproduce

  1. Install Node 16+
  2. Try using the node loader from react-server-dom-webpack
More Details About Repo
Owner Name facebook
Repo Name react
Full Name facebook/react
Language JavaScript
Created Date 2013-05-24
Updated Date 2022-10-03
Star Count 195549
Watcher Count 6650
Fork Count 40505
Issue Count 1119


Issue Title Created Date Updated Date