kibana-123
Version:
Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic
17 lines (12 loc) • 621 B
JavaScript
;
module.exports = function (_ref) {
var env = _ref.env;
var bundle = _ref.bundle;
var pluginSlug = env.pluginInfo.sort().map(function (p) {
return ' * - ' + p;
}).join('\n');
var requires = bundle.modules.map(function (m) {
return 'require(\'' + m + '\');';
}).join('\n');
return '\n/**\n * Test entry file\n *\n * This is programatically created and updated, do not modify\n *\n * context: ' + JSON.stringify(env.context) + '\n * includes code from:\n' + pluginSlug + '\n *\n */\n\nrequire(\'ui/chrome\');\n' + requires + '\nrequire(\'ui/chrome\').bootstrap(/* xoxo */);\n\n';
};