提交 370e90de 编写于 作者: J Johannes Rieken

webpack - even betterer logging

上级 bf477798
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册