From 5a0eecc53e4a4e9c5debd8f6fbb5f077f0aa270d Mon Sep 17 00:00:00 2001 From: Brian Vaughn Date: Tue, 10 Apr 2018 07:36:32 -0700 Subject: [PATCH] Added UMD build to test renderer package --- packages/react-test-renderer/package.json | 3 ++- scripts/rollup/bundles.js | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/react-test-renderer/package.json b/packages/react-test-renderer/package.json index 0b381d900a2fa..c01e6dae78961 100644 --- a/packages/react-test-renderer/package.json +++ b/packages/react-test-renderer/package.json @@ -28,6 +28,7 @@ "README.md", "index.js", "shallow.js", - "cjs/" + "cjs/", + "umd/" ] } diff --git a/scripts/rollup/bundles.js b/scripts/rollup/bundles.js index 138017b5d8a8a..18dbe1bb7f12c 100644 --- a/scripts/rollup/bundles.js +++ b/scripts/rollup/bundles.js @@ -156,7 +156,7 @@ const bundles = [ /******* React Test Renderer *******/ { label: 'test', - bundleTypes: [FB_DEV, NODE_DEV, NODE_PROD], + bundleTypes: [FB_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD], moduleType: RENDERER, entry: 'react-test-renderer', global: 'ReactTestRenderer', @@ -165,7 +165,7 @@ const bundles = [ { label: 'test-shallow', - bundleTypes: [FB_DEV, NODE_DEV, NODE_PROD], + bundleTypes: [FB_DEV, NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD], moduleType: RENDERER, entry: 'react-test-renderer/shallow', global: 'ReactShallowRenderer',