Polyfills
If your implementation needs to support older browsers but also needs to use modern Javascript, you might need a polyfill.
SDI Toolkit enables you to easily provide polyfills for:
Object.assign
Checking the box here will create the Object.assign function if it does not exist in the browser already. We use the Launch Core Module, @adobe/reactor-object-assign for this functionality.
Promise
Checking the box here will create the Promise constructor if it does not exist in the browser already. We use the Launch Core Module, @adobe/reactor-promise for this functionality.
Notes:
The use of one or both of these polyfills is entirely optional. They are unchecked by default.
These polyfills add essentially no weight to the built Launch library since the modules are already built into 99% of implementations anyway.
Last updated