From f1f006caa93eca52d8cc1c6973858e6fafa0382a Mon Sep 17 00:00:00 2001 From: Jordan Mele Date: Thu, 13 Jun 2024 11:50:46 +1000 Subject: [PATCH] Do not skip processing modules restored from cache --- src/plugin.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/plugin.ts b/src/plugin.ts index 8573211..91b6e07 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -204,12 +204,6 @@ export default class DocgenPlugin implements webpack.WebpackPluginInstance { const nameForCondition = module.nameForCondition() || ""; - // Ignore already built modules for webpack 5 - if (!compilation.builtModules.has(module)) { - debugExclude(`Ignoring un-built module: ${nameForCondition}`); - return; - } - // Ignore external modules // eslint-disable-next-line // @ts-ignore: Webpack 4 type