Skip to content

Commit ad7fe98

Browse files
feat: refactor
compiler
1 parent cb8968d commit ad7fe98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/utils/compiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function showEmojiConditionally() {
6060

6161
function generateOutput(outputOptions, stats, statsErrors) {
6262
const statsObj = stats.toJson(outputOptions);
63-
if(statsObj.children && statsObj.children.length) {
63+
if (statsObj.children && statsObj.children.length) {
6464
statsObj.children.forEach(child => {
6565
generateOutputForSingleCompilation(child, statsErrors);
6666
});
@@ -196,7 +196,7 @@ async function webpackInstance(opts, shouldUseMem) {
196196
const interactive = require('./interactive');
197197
return interactive(options, outputOptions, processingErrors, shouldUseMem);
198198
}
199-
if(compiler.compilers) {
199+
if (compiler.compilers) {
200200
compiler.compilers.forEach((comp, idx) => {
201201
setUpHookForCompiler(comp, outputOptions, options[idx]);
202202
})

0 commit comments

Comments
 (0)