-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Storybook fonts still failing to load from within Docker as of version 0.32 #471
Comments
I'm running into this issue in CI too with Storybook 7. I've not got any solution/workaround at the moment. |
I have a PR open now to resolve the issue. The static file server needed to be implemented for the app target just like the Docker one. #472 |
I came up with a hacky workaround while I wait for a fix to be approved/released. I originally patched Loki with my branch version, but building from The preview for Storybook references the static assets (fonts, stylesheet and scripts) with I copied template.ejs into my
Since the original
You can either run this node function before This is a complete hack and I hope #472 will remove the need for this nonsense, but I thought I'd share my workaround in case anyone finds it helpful. |
I am aware of #446 – when running Loki on the host the issue was reproducible with 0.31.x and got remedied with an upgrade to 0.32.
Running Loki with Chrome app from within a Docker context, however, the issue resurfaces again even with 0.32:
Any suggestions?
Config
The text was updated successfully, but these errors were encountered: