Skip to content
Browse files

Build: Remove obsolete UglifyJS workaround

  • Loading branch information...
1 parent d63243d commit d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac @mgol mgol committed
Showing with 0 additions and 7 deletions.
  1. +0 −7 build/tasks/dist.js
View
7 build/tasks/dist.js
@@ -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;

0 comments on commit d41fc68

Please sign in to comment.
Something went wrong with that request. Please try again.