OptionalcwdWorking directory for resolving component paths.
OptionalexternalExternal packages to exclude from the bundle. These packages must be available at runtime.
Note: React, ReactDOM, and @mcp-apps-kit/ui-react are always bundled to ensure the HTML is self-contained.
OptionalglobalPath to a CSS file to inject into all UIs. Useful for global styles or CSS reset.
OptionalminifyMinify the output JavaScript and CSS.
OptionaloutOutput directory for compiled HTML files. If not specified, HTML is only returned in memory.
OptionalsourcemapInclude source maps in the output. Useful for debugging but increases bundle size.
OptionaltemplateCustom HTML template function. If not provided, a default template is used.
Options for the React UI build process.