Sha256: 8730433c9e41edd5e95e0a31f18b1bbec4aff4c7649a798d870a052b7d363717
Contents?: true
Size: 395 Bytes
Versions: 24
Compression:
Stored size: 395 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.removeEmptyLinesBefore = removeEmptyLinesBefore; // Remove empty lines before a node. Mutates the node. function removeEmptyLinesBefore(node /*: postcss$node*/ , newline /*: '\n' | '\r\n'*/ ) /*: postcss$node*/ { node.raws.before = node.raws.before.replace(/(\r?\n\s*\r?\n)+/g, newline); return node; }
Version data entries
24 entries across 24 versions & 1 rubygems