From d2c37afdd57a4b643e638dd3cb3b83b4d6663496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski?= Date: Sun, 26 Jan 2014 04:02:20 +0100 Subject: [PATCH] Build: Remove obsolete UglifyJS workaround (cherry-picked from d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac) --- build/tasks/dist.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/build/tasks/dist.js b/build/tasks/dist.js index 97d882e70..13e56336a 100644 --- a/build/tasks/dist.js +++ b/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;