We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4c233fa + 7551f39 commit 9f4ceffCopy full SHA for 9f4ceff
src/content/contribute/plugin-patterns.md
@@ -21,7 +21,7 @@ class MyPlugin {
21
// Explore each module within the chunk (built inputs):
22
chunk.getModules().forEach(module => {
23
// Explore each source file path that was included into the module:
24
- module.fileDependencies.forEach(filepath => {
+ module.buildInfo && module.buildInfo.fileDependencies && module.buildInfo.fileDependencies.forEach(filepath => {
25
// we've learned a lot about the source structure now...
26
});
27
0 commit comments