A Babel plugin for transpiling JSX syntax in Riza applications. Version 2.1.2 is the current stable release. It provides JSX compilation specifically tailored for the Riza framework, with support for server components and client components. Key differentiators include optimized output for Riza's virtual DOM and built-in support for automatic runtime detection.
npm install babel-plugin-rizaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure the plugin in .babelrc and use it programmatically with Babel.
Use 'target' instead of 'runtime' in plugin options.
Remove runtime option or set to 'automatic'. Use React 17+ style JSX transform.
Set namespace validation via Babel's @babel/plugin-transform-react-jsx instead.
Ensure 'babel-plugin-riza' is the first in the plugins array.
Upgrade to Babel 7 or later.
Run npm install babel-plugin-riza@latest
Use require('babel-plugin-riza') or module.exports = require('babel-plugin-riza') in config.