Skip to content

Commit c5b73af

Browse files
committed
feat(css): add [postcss] to warnings from postcss
1 parent 4182001 commit c5b73af

File tree

1 file changed

+1
-1
lines changed
  • packages/vite/src/node/plugins

1 file changed

+1
-1
lines changed

packages/vite/src/node/plugins/css.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ async function compileCSS(
14801480
}
14811481
} else if (message.type === 'warning') {
14821482
const warning = message as PostCSS.Warning
1483-
let msg = `[vite:css] ${warning.text}`
1483+
let msg = `[vite:css][postcss] ${warning.text}`
14841484
msg += `\n${generateCodeFrame(
14851485
code,
14861486
{

0 commit comments

Comments
 (0)