Skip to content

Commit

Permalink
fix: fix css url rewrite for plain css
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 4, 2020
1 parent 9fc8020 commit 2e44e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/server/serverPluginCss.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 2e44e71

Please sign in to comment.