Additionally resources can have jquery as dependency, in this case it will
be applied twice ....
I'm merging 2 files and removing references
to WicketEventJQueryResourceReference ....

On Wed, Nov 22, 2017 at 9:27 PM, Martin Grigorov <[email protected]>
wrote:

> On Wed, Nov 22, 2017 at 3:44 PM, Maxim Solodovnik <[email protected]>
> wrote:
>
> > minify-plugin can merge any number of JS files
> > But I'm not sure merge everything is a good idea ....
> >
>
> I'd prefer jQuery to be served from CDN for my apps.
>
>
> >
> > 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
> >
>



-- 
WBR
Maxim aka solomax

Reply via email to