Skip to content

Commit

Permalink
MDL-78400 JavaScript: Building JS puts build files in src dir on Win.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Jun 5, 2023
1 parent 52a4f2d commit 4fbc60a
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 4fbc60a

Please sign in to comment.