diff --git a/lib/pack.js b/lib/pack.js index 46ed1f1..bcc967f 100644 --- a/lib/pack.js +++ b/lib/pack.js @@ -92,7 +92,7 @@ export async function rescopeOfficialPrebuildsFromPackage({ buildMetadata, resco await pack({ srcBaseDir: meta.moduleBaseDir, destBaseDir: meta.rescopedModuleBaseDir, - packageJSONData: newJSONPkg, + packageJSONData: newJSONPkg.modulePkg, modulesToPublish: toPublish, relocatePrebuilds: false, });