mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-27 12:17:51 +01:00
webpack - even betterer logging
This commit is contained in:
@@ -69,7 +69,7 @@ function fromLocal(extensionPath, sourceMappingURLBase) {
|
||||
.pipe(packageJsonFilter.restore);
|
||||
var webpackStreams = webpackConfigLocations.map(function (webpackConfigPath) {
|
||||
var webpackDone = function (err, stats) {
|
||||
util.log("Bundled extension: " + util.colors.yellow(path.basename(extensionPath)) + "...");
|
||||
util.log("Bundled extension: " + util.colors.yellow(path.join(path.basename(extensionPath), path.relative(extensionPath, webpackConfigPath))) + "...");
|
||||
if (err) {
|
||||
result.emit('error', err);
|
||||
}
|
||||
|
||||
@@ -71,7 +71,7 @@ export function fromLocal(extensionPath: string, sourceMappingURLBase?: string):
|
||||
const webpackStreams = webpackConfigLocations.map(webpackConfigPath => {
|
||||
|
||||
const webpackDone = (err, stats) => {
|
||||
util.log(`Bundled extension: ${util.colors.yellow(path.basename(extensionPath))}...`);
|
||||
util.log(`Bundled extension: ${util.colors.yellow(path.join(path.basename(extensionPath), path.relative(extensionPath, webpackConfigPath)))}...`);
|
||||
if (err) {
|
||||
result.emit('error', err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user