Webpack watch output formatting
Right now I have a webpack so that it watches my code base and recompiles when it detects a change. I didnt like the output on cmd so I added a function in the the plugins array in the webpack.config. That function console logs the compile number and the time at which the compilation finished. I was wondering if anyone knew how to change the color of the cmd output just to make it that much easier to make sure my code has been compiled.
heres what the output looks like so far with the names obscured. I was trying to get those first two lines to be a different color so that they stand out more.
链接地址: http://www.djcxy.com/p/87380.html上一篇: Nightwatch.js如何使用Color在控制台中输出消息?
下一篇: Webpack手表输出格式