Re: javascript and css minification process

From: George Gelashvili <ggelashvili(at)pivotal(dot)io>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: javascript and css minification process
Date: 2017-05-12 14:54:13
Message-ID: CAHowoHbYyJ_hBshABhpEUCz2OGvda83pcLKjPyuzMvdbwnR2gA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

>
> It's not yet. Those are utility scripts that I was eventually intending to
> call from appropriate make targets during package build. Before we get
> there though, we need code changes to ensure that we load minified code vs.
> debug code at the appropriate times. I haven't done much with it in a while
> as Tira had been talking about transpiling everything into a single blob
> (though that required us to ensure none of the JS files were Jinja
> templates any more).
>

Okay. We are thinking of using a javascript minification tool and run it as
part of the bundling process.
We are using grunt to bundle everything (such as react code and
dependencies). Other javascript and css files can be added to the bundling
process as we all see fit.

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-05-12 15:42:10 pgAdmin 4 commit: Track disabled rows properly in the edit grid.
Previous Message Dave Page 2017-05-12 14:37:51 Re: javascript and css minification process