I have a problem with lazy loading and webpack.
There is a video of Sean Larkin showing how easy it is with webpack 4 to create a lazy loaded bundle (Here). But when I t
I have a trick one to lazyLoad a module with its type:
function lazyLoad(){ return let lazyModule:typeof import('xxx') = require('xxx'); }
limitation: the xxx can only be string not a variable.