Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions packages/scripts/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,6 @@ function getWebpackEntryPoints( buildType ) {
};
}

/**
* Returns the list of paths included in the `render` props by scanning the `block.json` files.
*
* @return {Array} The list of all the `render` prop paths included in `block.json` files.
*/
function getRenderPropPaths() {
return getPhpFilePaths( [ 'render' ] );
}

/**
* Returns the list of PHP file paths found in `block.json` files for the given props.
*
Expand Down Expand Up @@ -422,7 +413,6 @@ module.exports = {
getWordPressSrcDirectory,
getWebpackEntryPoints,
getPhpFilePaths,
getRenderPropPaths,
hasBabelConfig,
hasCssnanoConfig,
hasJestConfig,
Expand Down
2 changes: 0 additions & 2 deletions packages/scripts/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const {
getWordPressSrcDirectory,
getWebpackEntryPoints,
getPhpFilePaths,
getRenderPropPaths,
hasBabelConfig,
hasCssnanoConfig,
hasJestConfig,
Expand Down Expand Up @@ -45,7 +44,6 @@ module.exports = {
getWordPressSrcDirectory,
getWebpackEntryPoints,
getPhpFilePaths,
getRenderPropPaths,
getBlockJsonModuleFields,
getBlockJsonScriptFields,
hasArgInCLI,
Expand Down