-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
[v2] - CSS minifier crash the build due to fonts #3836
Comments
Probably this issue should be opened on clean-css library, let me know if I should move this |
Thanks
Can you share your site custom css file or site source code?
Can you try this env variable?
USE_SIMPLE_CSS_MINIFIER=true
Cf
https://v2.docusaurus.io/docs/cli/#docusaurus-build
Le ven. 27 nov. 2020 à 22:35, Sergio Moreno <notifications@github.com> a
écrit :
… Probably this issue should be opened on clean-css library, let me know if
I should move this
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3836 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFW6PVIIW7DGFVFFBTO5WDSSALSXANCNFSM4UFKGCEQ>
.
|
With that environment variable works as expected, i'll create a reproducible repo right now. |
Weird CleanCSS bug I think the best thing is just to turn off font-face optimization, this should help. |
I was able to reproduce this issue. @lex111 how can I turn off |
As @slorber already said, If you speak about just disabling that, probably that has to be made on Docusaurus codebase, https://www.npmjs.com/package/cssnano-preset-advanced has one parameters to disable |
@semoal Thank you!
|
🐛 Bug Report
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
(Write your steps here:)
yarn build
Expected behavior
To not crash
Your Environment
2.0.0-alpha.69
Reproducible Demo
I'll post one asap
The text was updated successfully, but these errors were encountered: