mirror of https://github.com/webpack/webpack.git
fix: generate library manifest after clean plugin
This commit is contained in:
parent
e311aedfbb
commit
57998941de
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue