12 lines
260 B
JavaScript
12 lines
260 B
JavaScript
const { Container } = require('postcss')
|
|
|
|
class NestedDeclaration extends Container {
|
|
constructor (defaults) {
|
|
super(defaults)
|
|
this.type = 'decl'
|
|
this.isNested = true
|
|
if (!this.nodes) this.nodes = []
|
|
}
|
|
}
|
|
|
|
module.exports = NestedDeclaration
|