From d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac Mon Sep 17 00:00:00 2001 From: =?utf8?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 --- 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; -- 2.39.5