Check ignore next warning comments in a warn() helper

This commit is contained in:
dualfroz committed 2026-10-05 23:11:46 +02:00
1 parent e47232149a
commit dc4f2415a8
7 files changed
+121 -82

No files matched your search

+4 -2
View File
@@ -2,6 +2,7 @@ let { list } = require('postcss')
let parser = require('postcss-value-parser')
let Browsers = require('./browsers')
let { warn } = require('./utils')
let vendor = require('./vendor')
class Transition {
@@ -121,12 +122,13 @@ class Transition {
})
if (isPrefixed && hasAssociatedProp) {
decl.warn(
warn(
result,
'Replace transition-property to transition, ' +
'because Autoprefixer could not support ' +
'any cases of transition-property ' +
'and other transition-*'
'and other transition-*',
{ node: decl }
)
}
}