Following is my index.js and when I use hacks all the tabs on sidebar show blank white screen. Please help!
export default function (kibana) {
return new kibana.Plugin({
uiExports: {
app: {
title: 'webinar_app',
description: 'webinar_app demo',
main: 'plugins/webinar_app/webinar_app',
uses: [
'visTypes',
'visResponseHandlers',
'visRequestHandlers',
'visEditorTypes',
'savedObjectTypes',
'spyModes',
'fieldFormats',
],
injectVars: (server) => {
return server.plugins.kibana.injectVars(server);
}
},
hacks: [
'plugins/webinar_app/webinar_app'
]
}
});
}