Skip to content

Commit d41fc68

Browse files
committed
Build: Remove obsolete UglifyJS workaround
1 parent d63243d commit d41fc68

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

build/tasks/dist.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ module.exports = function( grunt ) {
5252
nonascii = true;
5353
}
5454

55-
// Modify map/min so that it points to files in the same folder;
56-
// see https://github.com/mishoo/UglifyJS2/issues/47
57-
if ( /\.map$/.test( filename ) ) {
58-
text = text.replace( /"dist\//g, "\"" );
59-
fs.writeFileSync( filename, text, "utf-8" );
60-
}
61-
6255
// Optionally copy dist files to other locations
6356
paths.forEach(function( path ) {
6457
var created;

0 commit comments

Comments
 (0)