Load fuzzaldrin-plus conditionally in emoji/index.js
Currently the library fuzzaldrin-plus
gets bundled in our main.js bundle (https://gitlab-org.gitlab.io/frontend/playground/webpack-memory-metrics/last-report.html) due to one import in https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/emoji/index.js#L1
But in reality its only needed if someone actually searches for an emoji or a match needs to be done (https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/assets/javascripts/emoji/index.js#L109). So by loading this conditionally through a dynamic import we could save around 10KB from main.js. What makes it more complex is that all the function callers need to be adapted as that this would then be async.