]> source.dussan.org Git - jquery.git/commitdiff
Build: Remove obsolete UglifyJS workaround
authorMichał Gołębiowski <m.goleb@gmail.com>
Sun, 26 Jan 2014 03:02:20 +0000 (04:02 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Sun, 26 Jan 2014 03:02:20 +0000 (04:02 +0100)
build/tasks/dist.js

index 97d882e7097ebc975dbbb86dc4580b5bd72984fd..13e56336a7f0ca5812552100a46fd14042c3d4bf 100644 (file)
@@ -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;