[UI Bundler] Add Aliases for Moment so plugins can use the same instance (#13628)

This commit is contained in:
Tim Sullivan 2017-08-22 09:25:33 -07:00 committed by Timothy Sullivan
parent 45848c7522
commit 6d90c08b5c

View file

@ -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