Build/Test tools: Ignore the warning about sourcemaps in the block-editor script in the 6.1 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.1@57957 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2024-04-09 13:59:23 +00:00
parent 5bff984a9e
commit d8995906cc

@ -1568,6 +1568,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 ) => {