first commit
This commit is contained in:
15
build/node_modules/cssnano/dist/lib/getArguments.js
generated
vendored
Normal file
15
build/node_modules/cssnano/dist/lib/getArguments.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
exports.default = getArguments;
|
||||
function getArguments(node) {
|
||||
return node.nodes.reduce(function (list, child) {
|
||||
if (child.type !== 'div') {
|
||||
list[list.length - 1].push(child);
|
||||
} else {
|
||||
list.push([]);
|
||||
}
|
||||
return list;
|
||||
}, [[]]);
|
||||
}
|
||||
module.exports = exports['default'];
|
||||
Reference in New Issue
Block a user