For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/rspeedy/external-bundle-rsbuild-plugin.reactlynxexternalspresetoptions.bundlepath.md.
Rspeedy logo
Rspeedy
  • English
  • Home > @lynx-js/external-bundle-rsbuild-plugin > ReactLynxExternalsPresetOptions > bundlePath

    ReactLynxExternalsPresetOptions.bundlePath property

    Emit the ReactLynx runtime bundle into the current build output and load it through the generated runtime public path.

    Prefer this over url for normal Rspeedy projects. In addition to letting the runtime resolve the final URL from publicPath, the plugin will also copy the corresponding @lynx-js/react-umd bundle into the emitted assets, so application bundles can reference it without requiring an extra manual copy step when publishing.

    Signature:

    bundlePath?: string;

    Default Value

    'react.lynx.bundle'

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.