Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vinext/src/plugins/fonts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ async function fetchAndCacheFont(
// dev, or asset for build", which was never true: the CSS is
// embedded as a JavaScript string literal and Vite's asset pipeline
// does not scan string literals. Do not resurrect that assumption.
css = css.split(fontUrl).join(filePath);
css = css.split(fontUrl).join(filePath.replaceAll("\\", "/"));
}

// Cache the rewritten CSS
Expand Down
Loading