Skip to content

Commit

Permalink
Build: Remove obsolete UglifyJS workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed Jan 26, 2014
1 parent d63243d commit d41fc68
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build/tasks/dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@ module.exports = function( grunt ) {
nonascii = true;
}

// Modify map/min so that it points to files in the same folder;
// see https://github.com/mishoo/UglifyJS2/issues/47
if ( /\.map$/.test( filename ) ) {
text = text.replace( /"dist\//g, "\"" );
fs.writeFileSync( filename, text, "utf-8" );
}

// Optionally copy dist files to other locations
paths.forEach(function( path ) {
var created;
Expand Down

0 comments on commit d41fc68

Please sign in to comment.