GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove Node shallow builds (#18157) · react/react@739f20b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-test-renderer/npm
    • shallow.js
  • scripts/rollup
    • bundles.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-test-renderer/npm/shallow.js‎

Copy file name to clipboard
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
'use strict';
22

3-
if (process.env.NODE_ENV === 'production') {
4-
module.exports = require('./cjs/react-test-renderer-shallow.production.min.js');
5-
} else {
6-
module.exports = require('./cjs/react-test-renderer-shallow.development.js');
7-
}
3+
module.exports = require('react-shallow-renderer');
Collapse file

‎scripts/rollup/bundles.js‎

Copy file name to clipboardExpand all lines: scripts/rollup/bundles.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ const bundles = [
295295
}),
296296
},
297297
{
298-
bundleTypes: [NODE_DEV, NODE_PROD, UMD_DEV, UMD_PROD],
298+
bundleTypes: [UMD_DEV, UMD_PROD],
299299
moduleType: NON_FIBER_RENDERER,
300300
entry: 'react-test-renderer/shallow',
301301
global: 'ReactShallowRenderer',

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.