Check ignore next warning comments in a warn() helper
This commit is contained in:
1 parent
e47232149a
commit
dc4f2415a8
7 files changed
+121
-82
No files matched your search
+4
-2
@@ -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 }
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user