Browse Source

ref(ui): Codesplit "crypto-js/md5" (#7221)

This is only used for gravatars in `<Avatar>`
Billy Vong 6 years ago
parent
commit
f83fa64aee
2 changed files with 1 additions and 3 deletions
  1. 1 2
      src/sentry/static/sentry/app/components/avatar/gravatar.jsx
  2. 0 1
      webpack.config.js

+ 1 - 2
src/sentry/static/sentry/app/components/avatar/gravatar.jsx

@@ -52,8 +52,7 @@ class Gravatar extends React.Component {
       s: remoteSize || undefined,
       // If gravatar is not found we need the request to return an error,
       // otherwise error handler will not trigger and avatar will not have a display a LetterAvatar backup.
-      d: placeholder || '404', 
-     
+      d: placeholder || '404',
     };
 
     url += '?' + qs.stringify(query);

+ 0 - 1
webpack.config.js

@@ -54,7 +54,6 @@ var appEntry = {
     'bootstrap/js/tooltip',
     'bootstrap/js/alert',
     'create-react-class',
-    'crypto-js/md5',
     'jed',
     'jquery',
     'marked',