use webpack/file-loader to load font-awesome fonts instead of hard coding
Summary
We are hard coding path for font-awesome fonts in https://gitlab.com/gitlab-org/gitlab/-/blob/master/config/application.rb#L231
Improvements
I think it is better to let webpack handle the assets resolution via file-loader so we don't have to hard code the path here. This does not work if font-awesome is installed in a different path (for example /usr/share/nodejs/font-awesome in debian), for every other module we can set the webpack resolution path in webpack.config.js but that does not work here because it is not using webpack's resolution mechanism to find the asset here.
Risks
Involved components
config/application.rb config/webpack.config.js