From bd1231b92e9830cc897a6ca2aae40c82ed579d64 Mon Sep 17 00:00:00 2001 From: Stefan Pasch Date: Thu, 4 Jun 2026 14:42:56 +0200 Subject: [PATCH 1/2] Gruntfile: Update Sass source map options to conditionally include/exclude source map URL in built version. --- .../wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js b/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js index fcdb7fdc53..51358f58b3 100644 --- a/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js +++ b/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js @@ -19,8 +19,8 @@ module.exports = function ( grunt ) { sass: { options: { implementation: require( 'sass' ), - sourceMap: true, - // Don't add source map URL in built version. + // Don't add source map & source mapURL in built version. + sourceMap: 'build' !== process.argv[ 2 ], omitSourceMapUrl: 'build' === process.argv[ 2 ], outputStyle: 'expanded', includePaths: [ './node_modules' ], From dd1bc7b60da3667ef5595b0ff9303e22ab901538 Mon Sep 17 00:00:00 2001 From: Stefan Pasch Date: Thu, 4 Jun 2026 14:48:17 +0200 Subject: [PATCH 2/2] Fixed a typo in Grundfile of wporg-plugins theme --- .../wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js b/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js index 51358f58b3..2213360422 100644 --- a/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js +++ b/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/Gruntfile.js @@ -19,7 +19,7 @@ module.exports = function ( grunt ) { sass: { options: { implementation: require( 'sass' ), - // Don't add source map & source mapURL in built version. + // Don't add source map & source map URL in built version. sourceMap: 'build' !== process.argv[ 2 ], omitSourceMapUrl: 'build' === process.argv[ 2 ], outputStyle: 'expanded',