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

Add url-loader limit to font file packing #508

Merged
merged 2 commits into from Mar 21, 2019

Conversation

Jwaxo
Copy link
Contributor

@Jwaxo Jwaxo commented Jan 24, 2019

When more than a few small custom fonts are included the resulting app.styles.css files can get prohibitively large. This tweak checks font files with url-loader prior to base64 encoding them into the resulting .css, and instead just copies and references the font file into a font folder. Since resolve-url-loader is already included, the moving shouldn't matter.

Copy link
Contributor

@yuginaili yuginaili left a comment

Choose a reason for hiding this comment

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

👍

@jryanconklin jryanconklin requested a review from a team February 4, 2019 19:44
@jryanconklin jryanconklin requested a review from a team February 4, 2019 20:07
@illepic illepic merged commit 4db1d6c into phase2:master Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants