@gravity-ui/app-builder 0.33.2 → 0.33.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -976,7 +976,10 @@ function configureCommonPlugins(options, bundlerPlugins) {
|
|
|
976
976
|
let actualRemotes = originalRemotes;
|
|
977
977
|
if (!actualRemotes && remotes && enabledRemotes) {
|
|
978
978
|
// Remove micro-frontend name from public path
|
|
979
|
-
const
|
|
979
|
+
const mfNamePos = config.browserPublicPath.lastIndexOf(`${name}/`);
|
|
980
|
+
const commonPublicPath = mfNamePos === -1
|
|
981
|
+
? config.browserPublicPath
|
|
982
|
+
: config.browserPublicPath.slice(0, mfNamePos);
|
|
980
983
|
let remoteFile;
|
|
981
984
|
if (disableManifest) {
|
|
982
985
|
if (remotesRuntimeVersioning) {
|