File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1428,10 +1428,10 @@ define(function (require) {
1428
1428
}
1429
1429
1430
1430
if ( config . generateSourceMaps ) {
1431
- if ( config . preserveLicenseComments && ! ( config . optimize === 'none' || config . optimize === 'uglify2 ' ) ) {
1431
+ if ( config . preserveLicenseComments && ! ( config . optimize === 'none' || config . optimize === 'uglify ' ) ) {
1432
1432
throw new Error ( 'Cannot use preserveLicenseComments and ' +
1433
1433
'generateSourceMaps together, unless optimize is set ' +
1434
- 'to \'uglify2 \'. Either explicitly set preserveLicenseComments ' +
1434
+ 'to \'uglify \'. Either explicitly set preserveLicenseComments ' +
1435
1435
'to false (default is true) or turn off generateSourceMaps. ' +
1436
1436
'If you want source maps with license comments, see: ' +
1437
1437
'http://requirejs.org/docs/errors.html#sourcemapcomments' ) ;
You can’t perform that action at this time.
0 commit comments