Build/Test tools: Ignore the warning about sourcemaps in the block-editor script in the 6.0 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.0@57958 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2024-04-09 14:00:31 +00:00
parent 57bc45753f
commit f2e0e06819

View File

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