diff --git a/x-pack/legacy/plugins/searchprofiler/index.ts b/x-pack/legacy/plugins/searchprofiler/index.ts index 2b92ad232f4cd8..5de6ba710235bc 100644 --- a/x-pack/legacy/plugins/searchprofiler/index.ts +++ b/x-pack/legacy/plugins/searchprofiler/index.ts @@ -23,11 +23,11 @@ export const searchprofiler = (kibana: any) => { uiExports: { // NP Ready - devTools: [`${publicSrc}/legacy.ts`], + devTools: [`${publicSrc}/legacy`], styleSheetPaths: `${publicSrc}/np_ready/application/index.scss`, // Legacy - hacks: ['plugins/searchprofiler/register.js'], - home: ['plugins/searchprofiler/register_feature.js'], + hacks: ['plugins/searchprofiler/register'], + home: ['plugins/searchprofiler/register_feature'], }, init(server: Server) { const serverPlugin = plugin();