🔧
This commit is contained in:
10
node_modules/postcss/lib/processor.js
generated
vendored
10
node_modules/postcss/lib/processor.js
generated
vendored
@@ -7,7 +7,7 @@ let Root = require('./root')
|
||||
|
||||
class Processor {
|
||||
constructor(plugins = []) {
|
||||
this.version = '8.4.32'
|
||||
this.version = '8.4.33'
|
||||
this.plugins = this.normalize(plugins)
|
||||
}
|
||||
|
||||
@@ -43,10 +43,10 @@ class Processor {
|
||||
|
||||
process(css, opts = {}) {
|
||||
if (
|
||||
this.plugins.length === 0 &&
|
||||
typeof opts.parser === 'undefined' &&
|
||||
typeof opts.stringifier === 'undefined' &&
|
||||
typeof opts.syntax === 'undefined'
|
||||
!this.plugins.length &&
|
||||
!opts.parser &&
|
||||
!opts.stringifier &&
|
||||
!opts.syntax
|
||||
) {
|
||||
return new NoWorkResult(this, css, opts)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user