fix: generate library manifest after clean plugin

This commit is contained in:
alexander.akait 2023-12-29 18:17:27 +03:00
parent e311aedfbb
commit 57998941de
1 changed files with 4 additions and 1 deletions

View File

@ -46,7 +46,10 @@ class LibManifestPlugin {
*/ */
apply(compiler) { apply(compiler) {
compiler.hooks.emit.tapAsync( compiler.hooks.emit.tapAsync(
"LibManifestPlugin", {
name: "LibManifestPlugin",
stage: 110
},
(compilation, callback) => { (compilation, callback) => {
const moduleGraph = compilation.moduleGraph; const moduleGraph = compilation.moduleGraph;
asyncLib.forEach( asyncLib.forEach(