From f2e0e0681907cea0c31393e06ef01e55642e4a4d Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 9 Apr 2024 14:00:31 +0000 Subject: [PATCH] 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 --- Gruntfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index a892ebb003..554e421e42 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 ) => {