bin/copy-assets.js
function updateManifest() {
  const {stdout: branch} = exec(`git rev-parse --abbrev-ref HEAD`)

  if (!branch.includes("release")) {
    return;
  }

  console.log("[copy-assets] update assets manifest");

  const last = lastRelease();
  exec(`git cat-file -p ${last}:assets/module-manifest.json > assets/module-manifest.json`);
}
function updateManifest() {
  const {stdout: branch} = exec(`git rev-parse --abbrev-ref HEAD`)

  if (!branch.includes("release")) {
    return;
  }

  console.log("[copy-assets] update assets manifest");

  const last = lastRelease();
  exec(`git cat-file -p ${last}:assets/module-manifest.json > assets/module-manifest.json`);
}
function updateManifest ( ) { const { stdout : branch } = exec ( ` ` ) if ( ! branch . includes ( "release" ) ) { return ; } console . log ( "[copy-assets] update assets manifest" ) ; const last = lastRelease ( ) ; exec ( ` ${ last } ` ) ; }
updates the assets manifest with the latest release manifest so that webpack bundles remain largely the same
updates the assets manifest with the latest release manifest so that webpack bundles remain largely the same