mirror of https://github.com/embarklabs/embark.git
"writing file" messages for files that will be written by webpack
This commit is contained in:
parent
e1fb746aa7
commit
0161a9b402
|
@ -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'),
|
||||||
|
|
Loading…
Reference in New Issue