We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7b1964 commit 4182001Copy full SHA for 4182001
packages/vite/src/node/plugins/css.ts
@@ -3231,6 +3231,15 @@ async function compileLightningCSS(
3231
throw e
3232
}
3233
3234
+ for (const warning of res.warnings) {
3235
+ let msg = `[vite:css][lightningcss] ${warning.message}`
3236
+ msg += `\n${generateCodeFrame(src, {
3237
+ line: warning.loc.line,
3238
+ column: warning.loc.column - 1, // 1-based
3239
+ })}`
3240
+ environment.logger.warn(colors.yellow(msg))
3241
+ }
3242
+
3243
// NodeJS res.code = Buffer
3244
// Deno res.code = Uint8Array
3245
// For correct decode compiled css need to use TextDecoder
0 commit comments