mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-04 12:36:44 -05:00
Webpack all the things! Fixes #2135
This significantly speeds up loading of the application; in an average of 3 tests, v1.6 loaded in 11.5s in the runtime on a Mac, whilst the webpacked version of the code loaded in 5.53s.
This commit is contained in:
1 parent
d04ac7656a
commit
4a91bcde30
406 files changed
+3556
-164707
No files matched your search
@@ -1,5 +1,6 @@
|
||||
define([
|
||||
'sources/gettext', 'underscore', 'underscore.string', 'jquery', 'pgadmin.browser', 'backgrid',
|
||||
define('misc.statistics', [
|
||||
'sources/gettext', 'underscore', 'underscore.string', 'jquery',
|
||||
'pgadmin.browser', 'backgrid',
|
||||
'alertify', 'sources/size_prettify'
|
||||
], function(gettext, _, S, $, pgBrowser, Backgrid, Alertify, sizePrettify) {
|
||||
|
||||
@@ -350,7 +351,7 @@ define([
|
||||
|
||||
__createSingleLineStatistics: function(data, prettifyFields) {
|
||||
var row = data['rows'][0],
|
||||
columns = data['columns']
|
||||
columns = data['columns'],
|
||||
res = [];
|
||||
|
||||
this.columns = this.statistic_columns;
|
||||
|
||||
Reference in new issue
Block a user