webpack - even betterer logging

This commit is contained in:
Johannes Rieken
2018-08-29 19:06:27 +02:00
parent bf47779814
commit 370e90de7f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}