facebook / react

The library for web and native user interfaces.
https://react.dev
MIT License
227.47k stars 46.41k forks source link

parsePluginOptions lowercasing breaks runtimeModule option #29110

Open yepitschunked opened 4 months ago

yepitschunked commented 4 months ago

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).

josephsavona commented 4 months ago

Thanks for the heads up!

Fnll commented 3 months ago

can we simply ignore option runtimeModule and bypass lowerCasing?

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

github-actions[bot] commented 2 days ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!