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;
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.