3 ms·
>Most tools solve very specific problems that usually only matter on large scale production apps. Webpack, for example, is fantastic if you need to create split
by coldtea 10y ago
>Most tools solve very specific problems that usually only matter on large scale production apps. Webpack, for example, is fantastic if you need to create split points in your code to absolutely minimize the amount of js you send to the client. Or, if there is a chunk of js code (like React, or jquery) that rarely changes and could benefit from being part of a separately cached bundle.
Yeah, I know what they do and what they are used for. I don't know why they are needed. Browsers could have solved this problem from the start, with proper incremental module import syntax in JS scripts.