You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your plugin reads external files (config files, templates, etc.)
341
341
that webpack does not track by default, you must tell webpack to watch them.
342
342
343
-
The `compilation.fileDependencies` set allows you to add files that your plugin depends on, so webpack can trigger a rebuild when those files change.
343
+
You can tell webpack to watch different types of dependencies:
344
344
345
-
You can also extend this behavior to other types of dependencies:
345
+
-`compilation.fileDependencies` is used to track individual files that your plugin depends on, so webpack can trigger a rebuild when those files change
346
346
347
347
-`compilation.contextDependencies` is used to watch directories, so any change inside them triggers a rebuild
0 commit comments