Commit bab751cb authored by Clement Ho's avatar Clement Ho Committed by Jacob Schatz

Remove roadmap webpack bundle entry point

parent 9ecb7440
......@@ -72,7 +72,6 @@ function generateEntries() {
mirrors: 'ee/mirrors',
ee_protected_branches: 'ee/protected_branches',
service_desk: 'ee/projects/settings_service_desk/service_desk_bundle.js',
roadmap: 'ee/roadmap',
};
return Object.assign(manualEntries, autoEntries);
......
import initNewEpic from 'ee/epics/new_epic/new_epic_bundle';
import initRoadmap from 'ee/roadmap/index';
document.addEventListener('DOMContentLoaded', initNewEpic);
document.addEventListener('DOMContentLoaded', () => {
initNewEpic();
initRoadmap();
});
......@@ -13,7 +13,7 @@ import roadmapApp from './components/app.vue';
Vue.use(Translate);
document.addEventListener('DOMContentLoaded', () => {
export default () => {
const el = document.getElementById('js-roadmap');
if (!el) {
......@@ -57,4 +57,4 @@ document.addEventListener('DOMContentLoaded', () => {
});
},
});
});
};
......@@ -7,7 +7,6 @@
- if @epics_count != 0
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'roadmap'
#js-roadmap{ data: { epics_path: group_epics_path(@group, format: :json), group_id: @group.id, empty_state_illustration: image_path('illustrations/epics/roadmap.svg') } }
- else
= render 'shared/empty_states/roadmap'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment