Skip to content

Commit

Permalink
Added UMD build to test renderer package (#12594)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvaughn authored Apr 10, 2018
1 parent 3eae866 commit b846152
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 b846152

Please sign in to comment.