Skip to content

Lazy loaded dependencies

The project now builds two artifacts: genesys-ui and genesys-deps (and we also use lodash and d3js).

webpack build suggests:

You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

For webpack@4 see https://v4.webpack.js.org/guides/lazy-loading/

Can we import('genesys-deps') or at least d3?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information