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 — Revert changes to react-devtools-inline Webpack config from PR #22760 · bvaughn/react@b92d747

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/react-devtools-inline
    • webpack.config.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/react-devtools-inline/webpack.config.js‎

Copy file name to clipboardExpand all lines: packages/react-devtools-inline/webpack.config.js
+4-12Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ const babelOptions = {
3333
),
3434
};
3535

36-
const builtModulesDir = resolve(
37-
__dirname,
38-
'..',
39-
'..',
40-
'build',
41-
'oss-experimental',
42-
);
43-
4436
module.exports = {
4537
mode: __DEV__ ? 'development' : 'production',
4638
devtool: __DEV__ ? 'eval-cheap-source-map' : 'source-map',
@@ -57,10 +49,10 @@ module.exports = {
5749
libraryTarget: 'commonjs2',
5850
},
5951
externals: {
60-
react: resolve(builtModulesDir, 'react'),
61-
'react-dom': resolve(builtModulesDir, 'react-dom/unstable_testing'),
62-
'react-is': resolve(builtModulesDir, 'react-is'),
63-
scheduler: resolve(builtModulesDir, 'scheduler'),
52+
react: 'react',
53+
'react-dom': 'react-dom',
54+
'react-is': 'react-is',
55+
scheduler: 'scheduler',
6456
},
6557
node: {
6658
// source-maps package has a dependency on 'fs'

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.