We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dde6822 commit 309deb8Copy full SHA for 309deb8
src/inline.ts
@@ -118,7 +118,8 @@ async function inlineCssFontUrlArgumentNode(
118
!blob.type.startsWith('font/') &&
119
!blob.type.startsWith('application/font-') &&
120
!blob.type.startsWith('application/x-font-') &&
121
- blob.type !== 'application/vnd.ms-fontobject'
+ !blob.type.startsWith('image/svg+xml') &&
122
+ !blob.type.startsWith('application/vnd.ms-fontobject')
123
) {
124
throw new Error(
125
`Invalid response MIME type inlining font at ${url.href}: Expected font MIME type, got ${blob.type}`
0 commit comments