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()
orrequire.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
?