-
Notifications
You must be signed in to change notification settings - Fork 1
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
Composer minimise filesize of fonts? #6
Comments
right,... do you have any option of simply deleting them before deployment as a quick fix? |
Sweet thankyou. Yes simply deleting them before deploy locally works for now. If we start getting these problems in CI/CD we'll have to do that there too. |
We have refactored out those files into an additional package with the next up coming release. This should then allow to create a simple composer replace-package that will remove them or allow to register a custom path where those files can be found. Ill keep you posted on this. |
Hi @timmaier - this package should do the trick for you. |
Thank you this works perfectly! |
Hey is there a way to omit the following font files from this library?
Found under
/vendor/typesetsh/font-noto/fonts/sans/
NotoSansCJKsc-Bold.otf
NotoSansCJKsc-Regular.otf
NotoSansCJKsc-Light.otf
Together these are equal to ~48MB of size. Which when working with laravel vapors 50MB application upload limit does not bode well.
The text was updated successfully, but these errors were encountered: