"writing file" messages for files that will be written by webpack

This commit is contained in:
Michael Bradley, Jr 2018-08-17 16:48:04 -05:00
parent e1fb746aa7
commit 0161a9b402
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ class Pipeline {
}, },
function runWebpack(next) { function runWebpack(next) {
self.logger.info(__(`running webpack with '${self.webpackConfigName}' config...`)); self.logger.info(__(`running webpack with '${self.webpackConfigName}' config...`));
Object.keys(self.assetFiles)
.filter(key => key.match(/\.js?$/))
.forEach(key => {
self.logger.info(__("writing file") + " " + (utils.joinPath(self.buildDir, key)).bold.dim);
});
let built = false; let built = false;
const webpackProcess = new ProcessLauncher({ const webpackProcess = new ProcessLauncher({
modulePath: utils.joinPath(__dirname, 'webpackProcess.js'), modulePath: utils.joinPath(__dirname, 'webpackProcess.js'),