remove require.context from protected_branches_bundle

This commit is contained in:
Mike Greiling 2017-02-23 17:46:10 -06:00
parent c5b29ed6f3
commit 1adc59acc1
1 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
// require everything else in this directory
function requireAll(context) { return context.keys().map(context); }
requireAll(require.context('.', false, /^\.\/(?!protected_branches_bundle).*\.(js|es6)$/));
require('./protected_branch_access_dropdown');
require('./protected_branch_create');
require('./protected_branch_dropdown');
require('./protected_branch_edit');
require('./protected_branch_edit_list');