Skip to content

Commit

Permalink
Added UMD build to test renderer package (facebook#12594)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn authored and rhagigi committed Apr 19, 2018
1 parent e756388 commit 78dd8dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/react-test-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"README.md",
"index.js",
"shallow.js",
"cjs/"
"cjs/",
"umd/"
]
}
4 changes: 2 additions & 2 deletions scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down

0 comments on commit 78dd8dd

Please sign in to comment.