Merge branch 'wip_MDL-78400_m39' of https://github.com/gjb2048/moodle into MOODLE_39_STABLE
This commit is contained in:
+1
-2
@@ -229,8 +229,7 @@ module.exports = function(grunt) {
|
||||
* @return {String} The rewritten destination path.
|
||||
*/
|
||||
var 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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user