mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Don't build shallow renderer UMD bundles
This commit is contained in:
@@ -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) *******/
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user