Search
Home > @lynx-js/react-rsbuild-plugin > CompatVisitorConfig > newRuntimePkg
Specifies the new runtime package name
Signature:
newRuntimePkg: string
Default value: '@lynx-js/react'
'@lynx-js/react'
import { defineConfig } from '@lynx-js/rspeedy' import { pluginReactLynx } from '@lynx-js/react-rsbuild-plugin' export default defineConfig({ plugins: [ pluginReactLynx({ compat: { newRuntimePkg: '@my-org/react' }, }) ], })