diff options
Diffstat (limited to 'app/assets/javascripts/protected_branches/protected_branches_bundle.js')
-rw-r--r-- | app/assets/javascripts/protected_branches/protected_branches_bundle.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/protected_branches/protected_branches_bundle.js b/app/assets/javascripts/protected_branches/protected_branches_bundle.js index 15b3affd469..ffb66caf5f4 100644 --- a/app/assets/javascripts/protected_branches/protected_branches_bundle.js +++ b/app/assets/javascripts/protected_branches/protected_branches_bundle.js @@ -1 +1,3 @@ -/*= require_tree . */ +// require everything else in this directory +function requireAll(context) { return context.keys().map(context); } +requireAll(require.context('.', false, /^\.\/(?!protected_branches_bundle).*\.(js|es6)$/)); |