Skip to content

Commit

Permalink
[UI Bundler] Add Aliases for Moment so plugins can use the same insta…
Browse files Browse the repository at this point in the history
…nce (#13628)
  • Loading branch information
tsullivan authored Aug 22, 2017
1 parent 9890d22 commit 49ba9e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/ui_bundler_env.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export default class UiBundlerEnv {
ui: fromRoot('src/ui/public'),
test_harness: fromRoot('src/test_harness/public'),
querystring: 'querystring-browser',
moment$: fromRoot('webpackShims/moment'),
'moment-timezone$': fromRoot('webpackShims/moment-timezone')
};

// map of which plugins created which aliases
Expand Down

0 comments on commit 49ba9e8

Please sign in to comment.