Prettify compilation console logs

53514b5e1a44bf3bd18ff06aff2306b6f5a2ba7c

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +3 -0Ignore whitespace
src/middleware/webpack-serve.js+3 -0
@@ -28,10 +28,13 @@ export default function getWebpackServeMiddleware() {
28 */28 */
29 devMiddleware.runWebpackCompiler = () => {29 devMiddleware.runWebpackCompiler = () => {
30 return new Promise((resolve) => {30 return new Promise((resolve) => {
31 console.log();
32 console.log('Compiling frontend libraries...');
31 compiler.run((_error, stats) => {33 compiler.run((_error, stats) => {
32 const output = stats?.toString(publicLibConfig.stats);34 const output = stats?.toString(publicLibConfig.stats);
33 if (output) {35 if (output) {
34 console.log(output);36 console.log(output);
37 console.log();
35 }38 }
36 resolve();39 resolve();
37 });40 });