Skip to content

Commit 5d2d9c9

Browse files
committed
fix: update
1 parent 595a149 commit 5d2d9c9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,14 @@ class CssMinimizerPlugin {
810810
contentWorkerFactory.getWorker,
811811
);
812812

813+
for (const warning of output.warnings) {
814+
compilation.warnings.push(warning);
815+
}
816+
817+
for (const error of output.errors) {
818+
compilation.errors.push(error);
819+
}
820+
813821
return output.source || source;
814822
},
815823
);

0 commit comments

Comments
 (0)