second commit
This commit is contained in:
9
node_modules/postcss-import/lib/join-layer.js
generated
vendored
Normal file
9
node_modules/postcss-import/lib/join-layer.js
generated
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
"use strict"
|
||||
|
||||
module.exports = function (parentLayer, childLayer) {
|
||||
if (!parentLayer.length && childLayer.length) return childLayer
|
||||
if (parentLayer.length && !childLayer.length) return parentLayer
|
||||
if (!parentLayer.length && !childLayer.length) return []
|
||||
|
||||
return parentLayer.concat(childLayer)
|
||||
}
|
Reference in New Issue
Block a user