mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 13:54:56 -05:00
Build: Remove obsolete UglifyJS workaround
(cherry-picked from d41fc68d9b)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user