From 0fd0462bc6a3acd74ac107542a6c85b9fd1084f6 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Wed, 7 Jan 2026 14:27:44 +0000 Subject: [PATCH] MDL-87608 javascript: fix public paths in generated jsconfig file. This partly reverts changes from 31335206, removing the double public/ directory component of the file paths. --- .grunt/tasks/jsconfig.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.grunt/tasks/jsconfig.js b/.grunt/tasks/jsconfig.js index 33fbfb50d40..9e32c2ebcbe 100644 --- a/.grunt/tasks/jsconfig.js +++ b/.grunt/tasks/jsconfig.js @@ -43,8 +43,8 @@ module.exports = (grunt) => { const componentData = fetchComponentData().components; for (const [thisPath, component] of Object.entries(componentData)) { - jsconfigData.compilerOptions.paths[`${component}/*`] = [`public/${thisPath}/amd/src/*`]; - jsconfigData.include.push(`public/${thisPath}/amd/src/**/*`); + jsconfigData.compilerOptions.paths[`${component}/*`] = [`${thisPath}/amd/src/*`]; + jsconfigData.include.push(`${thisPath}/amd/src/**/*`); } grunt.file.write('jsconfig.json', JSON.stringify(jsconfigData, null, " ") + "\n");