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
"jsnext:main": "dist/js/foundation.esm.js",
"esnext": "dist/js/foundation.es6.js",
"typings": "dist/js/foundation.d.ts",
- "sideEffects": false,
"description": "The most advanced responsive front-end framework in the world.",
"author": "ZURB <foundation@zurb.com> (http://foundation.zurb.com)",
"homepage": "http://foundation.zurb.com/sites",