diff --git a/ui/src/app/index.tsx b/ui/src/app/index.tsx index 9ee30c081723d..7331e1c6c173a 100644 --- a/ui/src/app/index.tsx +++ b/ui/src/app/index.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; +import * as Moment from 'moment'; import {App} from './app'; ReactDOM.render(, document.getElementById('app')); @@ -14,3 +15,4 @@ if (mdl.hot) { (window as any).React = React; (window as any).ReactDOM = ReactDOM; +(window as any).Moment = Moment;