Repository navigation
React compiler support for @nx/rspack #37622
remziatay
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Would you consider adding a supported way to enable React Compiler for React apps built with
@nx/rspack?As far as I can tell, the
builtin:swc-loaderrule is registered byNxAppRspackPluginwith hardcoded options, andneither it nor
NxReactRspackPluginexposes a way to setjsc.transform.reactCompiler.For now we're patching the rule after Nx registers it, which works but depends on plugin internals:
All reactions