source mapping fixes

This commit is contained in:
Yuri Kuznetsov
2022-08-10 11:26:29 +03:00
parent a129d54e06
commit 263e553a0f
4 changed files with 41 additions and 14 deletions
+6 -5
View File
@@ -47,11 +47,12 @@ module.exports = grunt => {
let minifyLibFileList = copyJsFileList
.filter(item => item.minify)
.reduce((map, item) => {
map[item.dest] = item.originalDest;
return map;
}, {});
.map(item => {
return {
dest: item.dest,
src: item.originalDest,
};
});
let currentPath = path.dirname(fs.realpathSync(__filename));