Fix how global dependencies are loaded in the UI

The UI has a handful of dependencies attached to window (angular,
jquery, lodash, etc). In the case of schedules, jquery was included
and extended as expected, but then clobbered by another module. This
prevented the Select2 dependency from working as expected.

Rather than relying on webpack to export particular dependencies as
global, that work is done in the vendor entry point now instead.
This commit is contained in:
gconsidine
2017-09-21 15:52:19 -04:00
parent 7268dd473d
commit 159fdfe7ad
5 changed files with 23 additions and 35 deletions

View File

@@ -47,7 +47,6 @@
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.7.0",
"expose-loader": "^0.7.3",
"extract-text-webpack-plugin": "^3.0.0",
"grunt": "^1.0.1",
"grunt-angular-gettext": "^2.2.3",
@@ -60,7 +59,6 @@
"html-webpack-plugin": "^2.30.1",
"jasmine-core": "^2.5.2",
"jshint": "^2.9.4",
"jshint-loader": "^0.8.3",
"jshint-stylish": "^2.2.0",
"json-loader": "^0.5.4",
"karma": "^1.4.1",