diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2014-01-26 04:02:20 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2014-01-26 04:05:05 +0100 |
commit | d2c37afdd57a4b643e638dd3cb3b83b4d6663496 (patch) | |
tree | 909305c9dbef3c171b1a40a3d0ad1599f310f5da | |
parent | d56f40d93ac768de7ec3cf1523ed8c86a09e07ab (diff) | |
download | jquery-d2c37afdd57a4b643e638dd3cb3b83b4d6663496.tar.gz jquery-d2c37afdd57a4b643e638dd3cb3b83b4d6663496.zip |
Build: Remove obsolete UglifyJS workaround
(cherry-picked from d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac)
-rw-r--r-- | build/tasks/dist.js | 7 |
1 files changed, 0 insertions, 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; |