Build/Test tools: Ignore the warning about sourcemaps in the block-editor script in the 6.2 branch.

This warning is legitimate but needs to be investigated more thoroughly across all branches. Ignoring these files allows the build to complete without warnings.

Props gziolo, jorbin, desrosj


git-svn-id: https://develop.svn.wordpress.org/branches/6.2@57956 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2024-04-09 13:58:11 +00:00
parent 665dad997f
commit 9ee2c9236b

@ -1613,6 +1613,8 @@ module.exports = function(grunt) {
*/
grunt.registerTask( 'verify:source-maps', function() {
const ignoredFiles = [
'build/wp-includes/js/dist/block-editor.js',
'build/wp-includes/js/dist/block-editor.min.js',
'build/wp-includes/js/dist/components.js'
];
const files = buildFiles.reduce( ( acc, path ) => {