Skip to content

Commit

Permalink
Don't build shallow renderer UMD bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Jul 15, 2020
1 parent a9ba528 commit 4961833
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions scripts/rollup/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,19 +428,6 @@ const bundles = [
]),
}),
},
{
bundleTypes: [UMD_DEV, UMD_PROD],
moduleType: NON_FIBER_RENDERER,
entry: 'react-test-renderer/shallow',
global: 'ReactShallowRenderer',
externals: ['react', 'scheduler', 'scheduler/unstable_mock'],
babel: opts =>
Object.assign({}, opts, {
plugins: opts.plugins.concat([
[require.resolve('@babel/plugin-transform-classes'), {loose: true}],
]),
}),
},

/******* React Noop Renderer (used for tests) *******/
{
Expand Down

0 comments on commit 4961833

Please sign in to comment.