mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Revert "Merge pull request #127874 from microsoft/joh/webpack5"
This reverts commit1f5b688e9c
, reversing changes made to6efcb92e34
.
This commit is contained in:
parent
556f74ae55
commit
c5f12c7226
|
@ -390,7 +390,7 @@ async function webpackExtensions(taskName, isWatch, webpackConfigLocations) {
|
||||||
reject();
|
reject();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
reporter(stats === null || stats === void 0 ? void 0 : stats.toJson());
|
reporter(stats.toJson());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -401,7 +401,7 @@ async function webpackExtensions(taskName, isWatch, webpackConfigLocations) {
|
||||||
reject();
|
reject();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
reporter(stats === null || stats === void 0 ? void 0 : stats.toJson());
|
reporter(stats.toJson());
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -475,7 +475,7 @@ export async function webpackExtensions(taskName: string, isWatch: boolean, webp
|
||||||
if (err) {
|
if (err) {
|
||||||
reject();
|
reject();
|
||||||
} else {
|
} else {
|
||||||
reporter(stats?.toJson());
|
reporter(stats.toJson());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
@ -484,7 +484,7 @@ export async function webpackExtensions(taskName: string, isWatch: boolean, webp
|
||||||
fancyLog.error(err);
|
fancyLog.error(err);
|
||||||
reject();
|
reject();
|
||||||
} else {
|
} else {
|
||||||
reporter(stats?.toJson());
|
reporter(stats.toJson());
|
||||||
resolve();
|
resolve();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -33,6 +33,7 @@ module.exports = {
|
||||||
stats: {
|
stats: {
|
||||||
all: false,
|
all: false,
|
||||||
modules: true,
|
modules: true,
|
||||||
|
maxModules: 0,
|
||||||
errors: true,
|
errors: true,
|
||||||
warnings: true,
|
warnings: true,
|
||||||
// our additional options
|
// our additional options
|
||||||
|
|
|
@ -23,6 +23,6 @@ const config = withDefaults({
|
||||||
});
|
});
|
||||||
|
|
||||||
// add plugin, don't replace inherited
|
// add plugin, don't replace inherited
|
||||||
config.plugins.push(new webpack.IgnorePlugin({ resourceRegExp: /vertx/ })); // request-light dependency
|
config.plugins.push(new webpack.IgnorePlugin(/vertx/)); // request-light dependency
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|
|
@ -1,29 +1,8 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es2020",
|
"target": "es2019",
|
||||||
"lib": [
|
"lib": [
|
||||||
"ES2016",
|
"es2019"
|
||||||
"ES2017.Object",
|
|
||||||
"ES2017.String",
|
|
||||||
"ES2017.Intl",
|
|
||||||
"ES2017.TypedArrays",
|
|
||||||
"ES2018.AsyncIterable",
|
|
||||||
"ES2018.AsyncGenerator",
|
|
||||||
"ES2018.Promise",
|
|
||||||
"ES2018.Regexp",
|
|
||||||
"ES2018.Intl",
|
|
||||||
"ES2019.Array",
|
|
||||||
"ES2019.Object",
|
|
||||||
"ES2019.String",
|
|
||||||
"ES2019.Symbol",
|
|
||||||
"ES2020.BigInt",
|
|
||||||
"ES2020.Promise",
|
|
||||||
"ES2020.String",
|
|
||||||
"ES2020.Symbol.WellKnown",
|
|
||||||
"ES2020.Intl",
|
|
||||||
"ES2021.Promise",
|
|
||||||
"ES2021.String",
|
|
||||||
"ES2021.Weakref"
|
|
||||||
],
|
],
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|
|
@ -189,7 +189,7 @@
|
||||||
"source-map": "0.6.1",
|
"source-map": "0.6.1",
|
||||||
"source-map-support": "^0.3.2",
|
"source-map-support": "^0.3.2",
|
||||||
"style-loader": "^1.0.0",
|
"style-loader": "^1.0.0",
|
||||||
"ts-loader": "^9.2.3",
|
"ts-loader": "^6.2.1",
|
||||||
"tsec": "0.1.4",
|
"tsec": "0.1.4",
|
||||||
"typescript": "^4.4.0-dev.20210607",
|
"typescript": "^4.4.0-dev.20210607",
|
||||||
"typescript-formatter": "7.1.0",
|
"typescript-formatter": "7.1.0",
|
||||||
|
@ -199,9 +199,9 @@
|
||||||
"vscode-debugprotocol": "1.47.0",
|
"vscode-debugprotocol": "1.47.0",
|
||||||
"vscode-nls-dev": "^3.3.1",
|
"vscode-nls-dev": "^3.3.1",
|
||||||
"vscode-telemetry-extractor": "^1.8.0",
|
"vscode-telemetry-extractor": "^1.8.0",
|
||||||
"webpack": "^5.42.0",
|
"webpack": "^4.43.0",
|
||||||
"webpack-cli": "^4.7.2",
|
"webpack-cli": "^3.3.12",
|
||||||
"webpack-stream": "^6.1.2",
|
"webpack-stream": "^5.2.1",
|
||||||
"xml2js": "^0.4.17",
|
"xml2js": "^0.4.17",
|
||||||
"yaserver": "^0.2.0"
|
"yaserver": "^0.2.0"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue