LP#1751520: add specify path to content-menu.js explicitly
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 2 Mar 2018 22:13:52 +0000 (17:13 -0500)
committerDan Wells <dbw2@calvin.edu>
Fri, 2 Mar 2018 22:35:55 +0000 (17:35 -0500)
Otherwise, Webpack looks for a /module/ called context-menu, and
doesn't find it.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/web/js/ui/default/staff/webpack.config.js

index f70c42b..3aa54ed 100644 (file)
@@ -97,8 +97,8 @@ const vendorJsFiles = [
   'angular-sanitize',
   'angular-cookies',
   'ng-toast',
-  'context-menu',
   'angular-tree-control',
+  'angular-tree-control/context-menu.js',
   'iframe-resizer',
   'angular-order-object-by',
   'lovefield',