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:
Surinder Kumar
2017-07-18 15:13:16 +01:00
committed by Dave Page
parent d04ac7656a
commit 4a91bcde30
406 changed files with 3556 additions and 164707 deletions

View File

@@ -7,8 +7,8 @@
//
//////////////////////////////////////////////////////////////////////////
import alertify from '../../../pgadmin/static/vendor/alertifyjs/alertify';
import AlertifyWrapper from '../../../pgadmin/static/js/alerts/alertify_wrapper';
import alertify from 'alertify';
import AlertifyWrapper from 'sources/alerts/alertify_wrapper';
describe('alertify_wrapper', function () {
describe('success', function () {

View File

@@ -8,7 +8,7 @@
//////////////////////////////////////////////////////////////
import React from 'react';
import $ from '../../pgadmin/static/vendor/jquery/jquery-1.11.2';
import $ from 'jquery';
import CodeMirror from '../../pgadmin/static/jsx/history/detail/code_mirror';
import jasmineEnzyme from 'jasmine-enzyme';