Merge branch 'MDL-87608-501' of https://github.com/paulholden/moodle into MOODLE_501_STABLE
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user