Skip to content

Commit

Permalink
Merge branch 'wip_MDL-78400_m311' of https://github.com/gjb2048/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_311_STABLE
  • Loading branch information
andrewnicols committed Jun 8, 2023
2 parents 9464e34 + 78cf3e1 commit fc66630
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .grunt/tasks/javascript.js
Expand Up @@ -31,8 +31,7 @@
* @return {String} The rewritten destination path.
*/
const babelRename = function(destPath, srcPath) {
const path = require('path');
destPath = srcPath.replace(`amd${path.sep}src`, `amd${path.sep}build`);
destPath = srcPath.replace(`amd/src`, `amd/build`);
destPath = destPath.replace(/\.js$/, '.min.js');
return destPath;
};
Expand Down

0 comments on commit fc66630

Please sign in to comment.