You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the Vue JSX plugin relies on Babel for compilation, you need to additionally add the @rsbuild/plugin-babel.
Babel compilation will introduce extra overhead, in the example above, we use include to match .jsx and .tsx files, thereby reducing the performance cost brought by Babel.
I believe the need to manually add babel requirements is to minimize the impact scope of babel for performance reasons.
Version
Details
React.createElement
而不是h
函数rslib.config.ts
配置:源文件:
编译后的结果:
Reproduce link
https://github.com/NexxLuo/rslib-demo.git
Reproduce Steps
React.createElement
The text was updated successfully, but these errors were encountered: