Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Making the moment lib global in ArgoCD project to minimize the tar ball of metrics extension #13075

Merged
merged 6 commits into from
Mar 31, 2023
2 changes: 2 additions & 0 deletions ui/src/app/index.tsx
Original file line number Diff line number Diff line change
@@ -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(<App />, document.getElementById('app'));
Expand All @@ -14,3 +15,4 @@ if (mdl.hot) {

(window as any).React = React;
(window as any).ReactDOM = ReactDOM;
(window as any).Moment = Moment;