Skip to content

Commit

Permalink
chore(NA): load kbn deps after other main deps in the kbn-shared-ui-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic committed Apr 24, 2020
1 parent 4051c94 commit 3709f2a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/kbn-ui-shared-deps/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ export const Jquery = require('jquery');
window.$ = window.jQuery = Jquery;

// stateful deps
export const KbnI18n = require('@kbn/i18n');
export const KbnI18nAngular = require('@kbn/i18n/angular');
export const KbnI18nReact = require('@kbn/i18n/react');
export const Angular = require('angular');
export const Moment = require('moment');
export const MomentTimezone = require('moment-timezone/moment-timezone');
Expand All @@ -39,6 +36,11 @@ export const ReactIntl = require('react-intl');
export const ReactRouter = require('react-router'); // eslint-disable-line
export const ReactRouterDom = require('react-router-dom');

// kbn deps depends on others to load before them
export const KbnI18nAngular = require('@kbn/i18n/angular');
export const KbnI18n = require('@kbn/i18n');
export const KbnI18nReact = require('@kbn/i18n/react');

Moment.tz.load(require('moment-timezone/data/packed/latest.json'));

// big deps which are locked to a single version
Expand Down

0 comments on commit 3709f2a

Please sign in to comment.