-
-
Notifications
You must be signed in to change notification settings - Fork 903
Asset mapper warnings #6377
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
Comments
https://github.com/graphql/graphiql/blob/fa0e7f7a141d10a78e8773cf723781e265fba470/packages/graphiql/resources/build.sh#L16 :/ we do copy this one I'm not a huge fan of having these files inside api platform but we don't have an alternative sadly. |
Yeah, seems a bug in some build pipeline for graphiql "min" file have same size and definitely not minimized and have debug strings in it |
What about missing files ? |
I am facing same issue :) any updates? |
I updated the assets at #6400 I had no more errors do you still see some? Maybe that I need to update the distribution to be in sync? |
--no-debug option does save me temporarily
|
There are still warnings in 3.3.5 |
I see warnings but the file exist at https://github.com/api-platform/core/blob/3.3/src/Symfony/Bundle/Resources/public/fonts/open-sans/files/open-sans-hebrew-400-normal.woff2 |
But not exist at https://github.com/api-platform/core/blob/v3.3.5/src/Symfony/Bundle/Resources/public/fonts/open-sans/files/open-sans-hebrew-400-normal.woff2 I see update, thanks. Those warnings about missing files gone in 3.3.6 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi! I'm facing with same problem. I upgraded api-platform/core to 3.4.7 but still not working when i run |
I added a PR in that should solve the problem, it's because of a javascript file that's actually inside a comment. |
API Platform version(s) affected: 3.3.3
Description
How to reproduce
With symfony/flex run
Possible Solution
Put that font files or remove its definitions.
About "./path/to/domAnimations" - it is in comment and known behavior of asset mapper
https://symfony.com/doc/current/frontend/asset_mapper.html#missing-asset-warnings-on-commented-out-code
BUT, graphiql.min.js is not looks like "min" version but "debug" version with 3,0M (!!!) file size.
Additional Context
It does not harm anything, just annoying
The text was updated successfully, but these errors were encountered: