Filter
Shuffle's dependencies are bundled with the dist file.
Shuffle does, however, expect the following ES6/7 features: Set
, Array.from
, Object.assign
, Array.prototype.find
, and Array.prototype.includes
. In order to support browsers like IE11 and Safari 8, you must include a polyfill for these features. You can use a service like polyfill.io to only load the polyfills that specific browser needs, or a polyfill script like babel-polyfill (which uses core-js
internally).
Depending on what browsers you support, you may need to polyfill features used by Shuffle.