react icon indicating copy to clipboard operation
react copied to clipboard

parsePluginOptions lowercasing breaks runtimeModule option

Open yepitschunked opened this issue 1 month ago • 1 comments

The plugin options parser lowercases all option values : https://github.com/facebook/react/blob/94896cb8c5b1dfc80aa947ac9b273b6b9447571f/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L201

This breaks the runtimeModule option on case-sensitive filesystems (and the module path happens to contain uppercase characters).

yepitschunked avatar May 16 '24 17:05 yepitschunked