mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Build: Remove obsolete UglifyJS workaround
This commit is contained in:
parent
d63243d085
commit
d41fc68d9b
@ -52,13 +52,6 @@ module.exports = function( grunt ) {
|
|||||||
nonascii = true;
|
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
|
// Optionally copy dist files to other locations
|
||||||
paths.forEach(function( path ) {
|
paths.forEach(function( path ) {
|
||||||
var created;
|
var created;
|
||||||
|
Loading…
Reference in New Issue
Block a user