Skip to content

Commit

Permalink
Remove Node shallow builds
Browse files Browse the repository at this point in the history
This is just a forwarding module. We can hardcode it.
  • Loading branch information
sebmarkbage committed Feb 27, 2020
1 parent 3e809bf commit 1cf880b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions packages/react-test-renderer/npm/shallow.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-test-renderer-shallow.production.min.js');
} else {
module.exports = require('./cjs/react-test-renderer-shallow.development.js');
}
module.exports = require('./react-shallow-renderer');
2 changes: 1 addition & 1 deletion scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const bundles = [
}),
},
{
bundleTypes: [NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
bundleTypes: [UMD_DEV, UMD_PROD],
moduleType: NON_FIBER_RENDERER,
entry: 'react-test-renderer/shallow',
global: 'ReactShallowRenderer',
Expand Down

0 comments on commit 1cf880b

Please sign in to comment.