Skip to content

Commit

Permalink
Fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed Mar 10, 2020
1 parent 0e8167e commit f3e317a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/legacy/core_plugins/visualizations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export const visualizations: LegacyPluginInitializer = kibana =>
id: 'visualizations',
publicDir: resolve(__dirname, 'public'),
require: [],
uiExports: {
styleSheetPaths: resolve(__dirname, 'public/np_ready/public/index.scss'),
},
});

// eslint-disable-next-line import/no-default-export
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
// Due the plugin is located on the old platform we should leave import of constants.
// It will be removed when "visualizations" will migrate to the new platform
@import 'src/legacy/ui/public/styles/styling_constants';

@import './wizard/index';
@import './embeddable/index';
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
* either types, or static code.
*/

import './index.scss';

import { PublicContract } from '@kbn/utility-types';
import { PluginInitializerContext } from '../../../../../../core/public';
import { VisualizationsPlugin, VisualizationsSetup, VisualizationsStart } from './plugin';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ import { UiActionsStart } from '../../../../../../plugins/ui_actions/public';
import { DataStart as LegacyDataStart } from '../../../../data/public';
import { VisState } from './types';

import './index.scss';

/**
* Interface for this plugin's returned setup/start contracts.
*
Expand Down

0 comments on commit f3e317a

Please sign in to comment.