diff --git a/src/node/server/serverPluginCss.ts b/src/node/server/serverPluginCss.ts index 8e34803f4d280e..9fae79729bd49c 100644 --- a/src/node/server/serverPluginCss.ts +++ b/src/node/server/serverPluginCss.ts @@ -138,7 +138,7 @@ export const cssPlugin: ServerPlugin = ({ root, app, watcher, resolver }) => { }) if (typeof result === 'string') { - processedCSS.set(ctx.path, { css }) + processedCSS.set(ctx.path, { css: await rewriteCssUrls(css, ctx.path) }) return }