Core: Exclude callbacks & deferred modules in the slim build as well
commitfbc44f52fe76e1b601da76a1d7f8ef27884c06da
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Mon, 20 Jan 2020 17:58:23 +0000 (20 18:58 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2020 17:58:23 +0000 (20 18:58 +0100)
treec667b6a721cb50edfbfa52fd410696dc8a201437
parentff2819911da6cbbed5ee42c35d695240f06e65e3
Core: Exclude callbacks & deferred modules in the slim build as well

So far, the slim build only excluded ajax & effects modules. As many web apps
right now rely on native Promises, often with a polyfill for legacy browsers,
deferred & callbacks modules are not that useful for sites that already exclude
ajax & effects modules.

This decreases the gzipped minified size of the slim module by 1760 bytes,
to 19706 bytes (below 20k!).

Closes gh-4553
build/tasks/build.js