jquery/build/tasks
Michał Gołębiowski-Owczarek 812b4a1a83
Build: Reduce the slim build header comment & jQuery.fn.jquery
So far, the slim build was expanded to its full exclusion list, generating the
following `jQuery.fn.jquery`:
```
v4.0.0-pre -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-callbacks,-deferred,-deferred/exceptionHook,-effects,-effects/Tween,-effects/animatedSelector,-queue,-queue/delay,-core/ready
```

This commit changes it to just `v4.0.0-pre slim`. Only the pure slim build is
treated this way, any modification to it goes through the old expansion; e.g.
for `custom:slim,-deprecated` we get the following `jQuery.fn.jquery`:
```
v4.0.0-pre -deprecated,-deprecated/ajax-event-alias,-deprecated/event,-ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-callbacks,-deferred,-deferred/exceptionHook,-effects,-effects/Tween,-effects/animatedSelector,-queue,-queue/delay,-core/ready
```

Since the version string is also put in the jQuery header comment, it also got
smaller.

Also, the logic to skip including the commit hash in the header comment - when
provided through the COMMIT environment variable which we do in Jenkins - in
minified builds headers has been applied to builds with exclusions as well.

Closes gh-4649
2020-04-27 22:23:59 +02:00
..
lib Build: Fix the Windows build 2019-12-02 19:55:19 +01:00
amd.js Build: Auto-convert sources to AMD 2019-12-09 20:00:44 +01:00
build.js Build: Reduce the slim build header comment & jQuery.fn.jquery 2020-04-27 22:23:59 +02:00
dist.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:17:55 +02:00
node_smoke_tests.js Build:Tests: Fix custom build tests, verify on Travis 2020-01-07 23:59:08 +01:00
promises_aplus_tests.js Build: Make Promises/A+ tests use the dot reporter instead of the default 2019-03-11 16:06:17 +01:00
qunit_fixture.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:17:55 +02:00
sourcemap.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:17:55 +02:00
testswarm.js Build: Require strict mode in Node.js scripts via ESLint 2019-10-09 00:17:55 +02:00