From ca8579fb65caf1c59c8b9b17e1a6b5d66aeac651 Mon Sep 17 00:00:00 2001 From: Corey Robertson Date: Sat, 25 Jan 2020 17:48:48 -0500 Subject: [PATCH] Import appropriate files to setup plugin system at the correct time --- x-pack/legacy/plugins/canvas/public/legacy_start.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x-pack/legacy/plugins/canvas/public/legacy_start.ts b/x-pack/legacy/plugins/canvas/public/legacy_start.ts index 972427e166afcd..21bf5aaa6d8184 100644 --- a/x-pack/legacy/plugins/canvas/public/legacy_start.ts +++ b/x-pack/legacy/plugins/canvas/public/legacy_start.ts @@ -16,6 +16,12 @@ import 'uiExports/spyModes'; import 'uiExports/embeddableFactories'; import 'uiExports/interpreter'; +// TODO: These dependencies should be moved into plugin startup methods +// Load the interpreter so that the kbnInterpreter global will be available when plugins load +import 'plugins/interpreter/interpreter'; +// Load our app component to initialize registries +import './components/app'; + // load application code import 'uiExports/canvas';