diff --git a/packages/scripts/utils/config.js b/packages/scripts/utils/config.js index 44bcfb916b1f19..7196c0376377d4 100644 --- a/packages/scripts/utils/config.js +++ b/packages/scripts/utils/config.js @@ -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. * @@ -422,7 +413,6 @@ module.exports = { getWordPressSrcDirectory, getWebpackEntryPoints, getPhpFilePaths, - getRenderPropPaths, hasBabelConfig, hasCssnanoConfig, hasJestConfig, diff --git a/packages/scripts/utils/index.js b/packages/scripts/utils/index.js index 7c2a3d5ea34254..dc4008b16197d6 100644 --- a/packages/scripts/utils/index.js +++ b/packages/scripts/utils/index.js @@ -17,7 +17,6 @@ const { getWordPressSrcDirectory, getWebpackEntryPoints, getPhpFilePaths, - getRenderPropPaths, hasBabelConfig, hasCssnanoConfig, hasJestConfig, @@ -45,7 +44,6 @@ module.exports = { getWordPressSrcDirectory, getWebpackEntryPoints, getPhpFilePaths, - getRenderPropPaths, getBlockJsonModuleFields, getBlockJsonScriptFields, hasArgInCLI,