13w · asked a question · 185
18 Feb 2017 · answer
This answer has received 1 appreciation.
I have written about the topic in detail. TL;DR; use dynamic import or require.ensure. Latter is more flexible, but former is more fun to write as it provides a Promise based interface.
17 Feb 2017 · answer
What specifically are you trying to do?
I'm in the middle of a project using webpack 2.
Hipkiss · 17 Feb 2017
It is quite large lol. It is all a bit weird at times. As for the lodash lib, do you import the whole thing or do you install the specific bits you need? Could be it down quite a lot :)
Get a personalised developer feed and improve your Hashnode experience.
Hashnode © 2017