From e5b1bb692b97ee69d65fbeb0be4ab9df92d11ab7 Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Fri, 13 Oct 2023 11:54:56 +0100 Subject: [PATCH] Fix: Remove paths from build.min.js (fixes #3461) (#3462) --- grunt/tasks/build-config.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/grunt/tasks/build-config.js b/grunt/tasks/build-config.js index 8f79b19a1..1604af119 100644 --- a/grunt/tasks/build-config.js +++ b/grunt/tasks/build-config.js @@ -30,7 +30,14 @@ module.exports = function(grunt) { }); // remove path specific variables - const hideAttributes = ['outputdir', 'sourcedir', 'root']; + const hideAttributes = [ + 'cachepath', + 'configdir', + 'outputdir', + 'root', + 'sourcedir', + 'tempdir' + ]; hideAttributes.forEach(function(attrName) { delete buildConfig[attrName]; });