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

Manifest.json is not including Webfonts anymore #1827

Closed
andrefelipe opened this issue Jan 31, 2021 · 0 comments
Closed

Manifest.json is not including Webfonts anymore #1827

andrefelipe opened this issue Jan 31, 2021 · 0 comments

Comments

@andrefelipe
Copy link

Describe the bug

Manifest.json is not including Webfonts anymore.

Previously it was including correctly (sorry, don't remember the exact version, I think around beta 50)

Reproduction

We can reproduce with a new Vite project, 2.0.0-beta.60

Add any webfont as this example here:

Screen Shot 2021-01-31 at 10 00 43

The webfont works perfectly on dev and build. And it does get created correctly in the dist/assets:

Screen Shot 2021-01-31 at 10 00 59

BUT manifest.json is missing the webfont, making impossible to add a preload on HTML page:

Screen Shot 2021-01-31 at 10 01 29

System Info

  • vite version: 2.0.0-beta.60
  • Operating System: MacOS
  • Node version: 15.5.0
  • Package manager (npm/yarn/pnpm) and version: NPM 7.3.0
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant