Skip to content

reactDomUmdSrc

Package: @autotracer/plugin-vite-react19  ·  Layer: Build  ·  Type: string  ·  Default: undefined


reactDomUmdSrc is a build configuration option for reactTracer.vite(). It supplies the URL or path for the ReactDOM 19 global script used by buildWithWorkspaceLibs.

This setting is required when buildWithWorkspaceLibs is true. The referenced script must expose window.ReactDOM.

Usage

ts
reactTracer.vite({
  buildWithWorkspaceLibs: true,
  reactDomUmdSrc: "/vendor/react-dom-19.global.js",
});

Released under the MIT License.