Skip to content

Commit e3d7189

Browse files
author
anatoliik-lyft
committed
Revert all changes back, remove webpack 4 from the root
1 parent 863b51f commit e3d7189

File tree

7 files changed

+17
-13
lines changed

7 files changed

+17
-13
lines changed

‎package.json‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@
9797
"tmp": "^0.1.0",
9898
"typescript": "^3.7.5",
9999
"web-streams-polyfill": "^3.1.1",
100-
"webpack": "^5.82.1",
101-
"webpack-cli": "^5.1.1",
102-
"webpack-dev-server": "^4.15.0",
103100
"yargs": "^15.3.1"
104101
},
105102
"devEngines": {

‎packages/react-devtools-core/package.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
"devDependencies": {
3232
"cross-env": "^3.1.4",
3333
"process": "0.11.10",
34+
"webpack": "^5.82.1",
35+
"webpack-cli": "^5.1.1",
3436
"workerize-loader": "^2.0.2"
3537
}
3638
}

‎packages/react-devtools-extensions/build.js‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,7 @@ const build = async (tempPath, manifestPath) => {
5656
const binPath = join(tempPath, 'bin');
5757
const zipPath = join(tempPath, 'zip');
5858

59-
const webpackPath = join(
60-
__dirname,
61-
'..',
62-
'..',
63-
'node_modules',
64-
'.bin',
65-
'webpack',
66-
);
59+
const webpackPath = join(__dirname, 'node_modules', '.bin', 'webpack');
6760
execSync(
6861
`${webpackPath} --config webpack.config.js --output-path ${binPath}`,
6962
{

‎packages/react-devtools-extensions/package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@
6262
"source-map-js": "^0.6.2",
6363
"sourcemap-codec": "^1.4.8",
6464
"style-loader": "^0.23.1",
65+
"webpack": "^5.82.1",
66+
"webpack-cli": "^5.1.1",
67+
"webpack-dev-server": "^4.15.0",
6568
"workerize-loader": "^2.0.2"
6669
},
6770
"dependencies": {

‎packages/react-devtools-inline/package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
"process": "^0.11.10",
4545
"raw-loader": "^3.1.0",
4646
"style-loader": "^0.23.1",
47+
"webpack": "^5.82.1",
48+
"webpack-cli": "^5.1.1",
49+
"webpack-dev-server": "^4.15.0",
4750
"workerize-loader": "^2.0.2"
4851
}
4952
}

‎packages/react-devtools-shell/package.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"cross-env": "^3.1.4",
2525
"css-loader": "^1.0.1",
2626
"raw-loader": "^3.1.0",
27-
"style-loader": "^0.23.1"
27+
"style-loader": "^0.23.1",
28+
"webpack": "^5.82.1",
29+
"webpack-cli": "^5.1.1",
30+
"webpack-dev-server": "^4.15.0"
2831
}
2932
}

‎packages/react-devtools-timeline/package.json‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
"file-loader": "^6.0.0",
2222
"style-loader": "^1.2.1",
2323
"url-loader": "^4.1.0",
24-
"vercel": "^20.1.0"
24+
"vercel": "^20.1.0",
25+
"webpack": "^5.82.1",
26+
"webpack-cli": "^5.1.1",
27+
"webpack-dev-server": "^4.15.0"
2528
}
2629
}

0 commit comments

Comments
 (0)