Inject generated css between a <style> tag in the <head> instead of generating into a separated css file. This approach is not count as render-blocking resource so it's as fast as the async version. This method also fix SSR manifest issue (https://github.com/feat-agency/vite-plugin-webfont-dl/issues/9).
This will be the default option but you can turn it off if you want use the async method instead:
Inject generated css between a
<style>
tag in the<head>
instead of generating into a separated css file. This approach is not count as render-blocking resource so it's as fast as the async version. This method also fix SSR manifest issue (https://github.com/feat-agency/vite-plugin-webfont-dl/issues/9).This will be the default option but you can turn it off if you want use the async method instead: