-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scripts: Detect block.json changes from modules build (#57927)
* Add BlockJsonDependenciesPlugin to modules build Add a plugin that finds block.json files and adds them as fileDependencies of the module build. This ensures that changes to block.json files trigger updates to the module build. See https://webpack.js.org/contribute/plugin-patterns/ > You may also feed new file paths into the watch graph to receive > compilation triggers when those files change. Add valid file paths > into the `compilation.fileDependencies` Set to add them to the > watched files.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters