From 370e90de7fc9cd65b124bf3ee75be3f7c7406c8b Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Wed, 29 Aug 2018 19:05:58 +0200 Subject: [PATCH] webpack - even betterer logging --- build/lib/extensions.js | 2 +- build/lib/extensions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/lib/extensions.js b/build/lib/extensions.js index a9f35d3bbc0..4eda9210c1a 100644 --- a/build/lib/extensions.js +++ b/build/lib/extensions.js @@ -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); } diff --git a/build/lib/extensions.ts b/build/lib/extensions.ts index c99b63a7226..115adaca5df 100644 --- a/build/lib/extensions.ts +++ b/build/lib/extensions.ts @@ -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); } -- GitLab