react-server-dom-webpack/node-register
not finding directives in IIFEs
#28961
Labels
react-server-dom-webpack/node-register
not finding directives in IIFEs
#28961
Summary
react-server-dom-webpack/node-register
doesn't finduse client
directive in IIFEs.Consider the following code
code
This loop will not find the
use client
directive because it isn't searching deep enough.Is this an expected behavior?
For what it's worth, I am not yet using Webpack to do compilation here, I am using
tsx watch
for fast setup.The text was updated successfully, but these errors were encountered: