]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
chore: temporary disable tree-shaking #11586 11607/head
authorNicolas Coden <nicolas@ncoden.fr>
Thu, 22 Nov 2018 20:39:55 +0000 (21:39 +0100)
committerNicolas Coden <nicolas@ncoden.fr>
Thu, 22 Nov 2018 20:42:41 +0000 (21:42 +0100)
commitd8bcc3ac0019e99fde0886434a31bc312a3f509e
treea1e159c2796be98127b88cd890ba7648685726eb
parent4e8ad74b0d0c816c6736d9d0ea3f54d9fb019349
chore: temporary disable tree-shaking #11586

Despite the previous attempts to make Foundation compatible with tree shaking (#11445, #11497 and #11508), Foundation is used with side-effects (on jQuery) and cannot be considered as "without side-effects" for tree-shaking purposes.

This commit remove the "sideEffects: false" label and thus disable tree-shaking support, until the Foundation API and usage is changed to not implicitely rely on the global jQuery object.

Closes https://github.com/zurb/foundation-sites/issues/11586

Related to:
- https://github.com/zurb/foundation-sites/pull/11508
- https://github.com/zurb/foundation-sites/pull/11497
- https://github.com/zurb/foundation-sites/pull/11445
package.json