Skip to content

Commit 9b325fc

Browse files
committed
Fix the accidental doubling of license comments when generating source maps.
1 parent bad2808 commit 9b325fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/jslib/optimize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ function (lang, logger, envOptimize, file, parse,
461461
} catch (e) {
462462
throw new Error('Cannot uglify file: ' + fileName + '. Skipping it. Error is:\n' + e.toString());
463463
}
464-
return preamble + fileContents;
464+
return fileContents;
465465
}
466466
}
467467
};

0 commit comments

Comments
 (0)