remove require.context from boards_bundle
This commit is contained in:
parent
90fc4d1078
commit
abb668f1e4
1 changed files with 11 additions and 7 deletions
|
@ -2,15 +2,19 @@
|
||||||
/* global Vue */
|
/* global Vue */
|
||||||
/* global BoardService */
|
/* global BoardService */
|
||||||
|
|
||||||
function requireAll(context) { return context.keys().map(context); }
|
|
||||||
|
|
||||||
window.Vue = require('vue');
|
window.Vue = require('vue');
|
||||||
window.Vue.use(require('vue-resource'));
|
window.Vue.use(require('vue-resource'));
|
||||||
requireAll(require.context('./models', true, /^\.\/.*\.(js|es6)$/));
|
require('./models/issue');
|
||||||
requireAll(require.context('./stores', true, /^\.\/.*\.(js|es6)$/));
|
require('./models/label');
|
||||||
requireAll(require.context('./services', true, /^\.\/.*\.(js|es6)$/));
|
require('./models/list');
|
||||||
requireAll(require.context('./mixins', true, /^\.\/.*\.(js|es6)$/));
|
require('./models/milestone');
|
||||||
requireAll(require.context('./filters', true, /^\.\/.*\.(js|es6)$/));
|
require('./models/user');
|
||||||
|
require('./stores/boards_store');
|
||||||
|
require('./stores/modal_store');
|
||||||
|
require('./services/board_service');
|
||||||
|
require('./mixins/modal_mixins');
|
||||||
|
require('./mixins/sortable_default_options');
|
||||||
|
require('./filters/due_date_filters');
|
||||||
require('./components/board');
|
require('./components/board');
|
||||||
require('./components/board_sidebar');
|
require('./components/board_sidebar');
|
||||||
require('./components/new_list_dropdown');
|
require('./components/new_list_dropdown');
|
||||||
|
|
Loading…
Reference in a new issue