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',