mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Build: Remove obsolete UglifyJS workaround
(cherry-picked from d41fc68d9b
)
This commit is contained in:
parent
d56f40d93a
commit
d2c37afdd5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user