From 3deae4b81b546fec4ed994807a32ce36722e6557 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Mon, 19 Nov 2018 19:59:36 +0100 Subject: [PATCH] build: use minified umd bundles for size plugin (#14177) --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ffb0413457f..3ee0d6a5193 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -225,8 +225,8 @@ jobs: - run: name: Prepare CDK artifacts for publish. command: | - mkdir -p /tmp/cdk-umd-artifacts - cp dist/releases/cdk/bundles/*.umd.js /tmp/cdk-umd-artifacts + mkdir -p /tmp/cdk-umd-minified-bundles + cp dist/releases/cdk/bundles/*.umd.min.js /tmp/cdk-umd-minified-bundles # Publish bundle artifacts which will be used to calculate the size change. # Note: Make sure that the size plugin from the Angular robot fetches the artifacts @@ -236,10 +236,10 @@ jobs: # artifacts from CircleCI. See: # https://github.com/angular/github-robot/blob/master/functions/src/plugins/size.ts#L392-L394 - store_artifacts: - path: dist/releases/material/bundles/material.umd.js - destination: /angular_material/material_release_output/material.umd.js + path: dist/releases/material/bundles/material.umd.min.js + destination: /angular_material/material_release_output/material.umd.min.js - store_artifacts: - path: /tmp/cdk-umd-artifacts + path: /tmp/cdk-umd-minified-bundles destination: /angular_material/cdk_release_output/ - *save_cache