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

Nuke depreciated FontAwesome files #95

Merged
merged 2 commits into from
Mar 5, 2023
Merged

Conversation

JSKitty
Copy link
Member

@JSKitty JSKitty commented Mar 4, 2023

Abstract

Prior to webpack, MPW included FontAwesome v6.x files manually - these files are still in the repo even though they're no longer used (as FA is now imported through webpack as an NPM package), and are now removed.

This PR additionally switches the new version of FA to use minimised .min.css instead of full .css files, which reduces MPW's bandwidth use by ~40kb.

What does this PR address?

This PR simply removes an unused version of FontAwesome from the repository, and switches the existing FontAwesome to a minimised version, decreasing the loading time of MPW.

What features or improvements were added?

Unused files were removed from the repository, and the new FontAwesome was slightly optimised.

How does this benefit users?

MPW now loads slightly faster, due to using minimised FontAwesome CSS rather than full CSS files.

@JSKitty JSKitty added the Enhancement New feature or request label Mar 4, 2023
@JSKitty JSKitty self-assigned this Mar 4, 2023
This reduces the CSS size by around ~40kb, nice!
Copy link

@BreadJS BreadJS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will miss you FA files :( o7

Copy link

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK c79c1c3
Let's clean this bitch up!

@JSKitty JSKitty merged commit aaa30d0 into master Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

3 participants