From 32a86498cc3a1f766801e9bd00d812051aa5ccee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Tue, 27 Aug 2019 10:56:59 +0200 Subject: [PATCH] Exclude bundlesize config file from ZIP (https://github.com/woocommerce/woocommerce-blocks/pull/910) --- plugins/woocommerce-blocks/bin/build-plugin-zip.sh | 1 + plugins/woocommerce-blocks/bin/wordpress-deploy.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/plugins/woocommerce-blocks/bin/build-plugin-zip.sh b/plugins/woocommerce-blocks/bin/build-plugin-zip.sh index 476193e9c53..789cc3d6f2b 100755 --- a/plugins/woocommerce-blocks/bin/build-plugin-zip.sh +++ b/plugins/woocommerce-blocks/bin/build-plugin-zip.sh @@ -46,6 +46,7 @@ copy_dest_files() { --exclude=renovate.json \ --exclude="*.config.js" \ --exclude="*-config.js" \ + --exclude="*.config.json" \ --exclude=package.json \ --exclude=package-lock.json \ --exclude=none \ diff --git a/plugins/woocommerce-blocks/bin/wordpress-deploy.sh b/plugins/woocommerce-blocks/bin/wordpress-deploy.sh index c4eddf23ef4..31ff4c520ca 100644 --- a/plugins/woocommerce-blocks/bin/wordpress-deploy.sh +++ b/plugins/woocommerce-blocks/bin/wordpress-deploy.sh @@ -57,6 +57,7 @@ copy_dest_files() { --exclude=renovate.json \ --exclude="*.config.js" \ --exclude="*-config.js" \ + --exclude="*.config.json" \ --exclude=package.json \ --exclude=package-lock.json \ --exclude=none