diff --git a/packages/react-test-renderer/npm/shallow.js b/packages/react-test-renderer/npm/shallow.js index 9a91f99365823..122ae52c13997 100644 --- a/packages/react-test-renderer/npm/shallow.js +++ b/packages/react-test-renderer/npm/shallow.js @@ -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'); diff --git a/scripts/rollup/bundles.js b/scripts/rollup/bundles.js index 8830b4d06715c..41b9e30b43a5f 100644 --- a/scripts/rollup/bundles.js +++ b/scripts/rollup/bundles.js @@ -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',