这是开发预览网站。请访问正式文档 lynxjs.org

Home > @lynx-js/externals-loading-webpack-plugin > ExternalValue > bundlePath

ExternalValue.bundlePath property

The bundle path resolved against the runtime public path.

Prefer this over url when the bundle should follow the active publicPath. The runtime will load it with publicPath + bundlePath, which keeps external bundle resolution aligned with the current build output without hard-coding an absolute URL into the generated runtime code.

Signature:

bundlePath?: string;