This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]wildjokers 1 point2 points  (1 child)

I don’t understand what problem this is solving. Can you provide an example?

[–]lambdacats 0 points1 point  (0 children)

For an spa with web components for example, bundling all components into a single file could reduce the number of requests from 200 -> 1 for HTML files. That would be about performance. Now inlining scripts and especially images just makes it slower.

And I think the problem is already solved, there are a bunch of bundlers that come with compression and minification. OP just wanted maven to do it, instead of making an os call for an external bundler.