Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d9Bxj-0001Mm-Sq for pgadmin-hackers@arkaria.postgresql.org; Fri, 12 May 2017 14:54:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d9Bxj-00008l-5H for pgadmin-hackers@arkaria.postgresql.org; Fri, 12 May 2017 14:54:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d9BxU-00083I-P8 for pgadmin-hackers@postgresql.org; Fri, 12 May 2017 14:54:20 +0000 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d9BxQ-0001AH-G5 for pgadmin-hackers@postgresql.org; Fri, 12 May 2017 14:54:19 +0000 Received: by mail-oi0-x231.google.com with SMTP id h4so68505554oib.3 for ; Fri, 12 May 2017 07:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=8CGQnndeJ4qai8+AShG3N3xYhO39rz4zQ71UK2sgbzA=; b=2AYJxSA2snTnndWBEW/e+yowLkJmFHU7Ig6FXusqOfh9+ulQYFpp1IXHRToqoUnBUH II1n37o1hckXNZ2mV1c1qPNAijDjChVnITvtPzG8n9PREA563oWIaEwqQIdc931OA1O0 GcT0tVbkF67WpMgiRMOmqachw3p0Ll2hewBfJGxMxbgOfzdu0SqimM3sXAJj8qcoXb+e l0yXgf7CnbuBWUdwFJZCGN9EWRHTeQTr41TjEpKpjxbupIsZl1OVsKeu32IQ5klGvUz0 EelSHO69WUUR0VkdRD3ViZaha6ismR9I1DwVXpD4sDUhBmQaEVhfkRoyABUolkfJwAUB gKOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=8CGQnndeJ4qai8+AShG3N3xYhO39rz4zQ71UK2sgbzA=; b=R0Wge0nkQyixHhjPEtCgBkDMMQBKc6X6WdmqjrG2CxWfx3rpQhvKCx9hrvAuPTQu5b Uq1l1B+JV9UW7j5MzKq0H+d/+JgHo86CxcoqqZRMlfvq1vyaX3SjlmugfBcSpRghy5Zm p9acrDtb4hNOfGFXxfwQ04B0tzgfOYNhGcFOF6OXYtkKP/4IL2yP40DBTJZWihuE+/HZ Vii8uB7KqDdDStLqv5zeyZMgQKWYQI3GP0sNLXTrN5oUo7aQz7ATIAVY0+tDXhip4MEn ZUDzReHAhmmLsncYurb7jsycdpVnuD5qooXXTIFeT4ndjg5vbGxssJAX7KJyFHA94wHI E3wg== X-Gm-Message-State: AODbwcBrBSx3GdpXtNfowSaH11nGMIADr/dN6E46S92azwhPU/vIYujR vjXzQeMBeRkNqUnp6ksOVlDgOq192Y/+ X-Received: by 10.157.80.47 with SMTP id a47mr2327589oth.220.1494600854015; Fri, 12 May 2017 07:54:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.102.70 with HTTP; Fri, 12 May 2017 07:54:13 -0700 (PDT) In-Reply-To: References: From: George Gelashvili Date: Fri, 12 May 2017 10:54:13 -0400 Message-ID: Subject: Re: javascript and css minification process To: Dave Page Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="f4030435ab2cfc39e4054f54e058" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --f4030435ab2cfc39e4054f54e058 Content-Type: text/plain; charset="UTF-8" > > 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. --f4030435ab2cfc39e4054f54e058 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It's not yet. Those are ut= ility scripts that I was eventually intending to call from appropriate make= targets during package build. Before we get there though, we need code cha= nges 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 t= o ensure none of the JS files were Jinja templates any more).=C2=A0

Okay. We are thinki= ng of using a javascript minification tool and run it as part of the bundli= ng process.
We are using grunt to bundle everything (such as reac= t code and dependencies). Other javascript and css files can be added to th= e bundling process as we all see fit.
=C2=A0
--f4030435ab2cfc39e4054f54e058--