minify-plugin can merge any number of JS files But I'm not sure merge everything is a good idea ....
On Wed, Nov 22, 2017 at 5:56 PM, Korbinian Bachl < [email protected]> wrote: > Hello, > > wouldn't option 2 put the Jjqery.js into it? > > Best, > > KB > > ----- Ursprüngliche Mail ----- > > Von: "Maxim Solodovnik" <[email protected]> > > An: [email protected] > > Gesendet: Mittwoch, 22. November 2017 07:21:22 > > Betreff: Question regarding WICKET-6497 unify javascript files > > > Hello, > > > > I'm currently investigating "WICKET-6497 unify javascript files". > > As far as I understand Wicket unifies JS code blocks, but not JS > references > > > > So the only options are: > > 1) create 1 JS file and put contents of these 2 in it > > 2) perform combining at compile time using maven plugin [1] > > > > I can implement 2) above. Would it be OK? Maybe there are better options? > > > > [1] http://samaxes.github.io/minify-maven-plugin/usage.html > > > > -- > > WBR > > Maxim aka solomax > -- WBR Maxim aka solomax
