sindresorhus

strip-css-comments

Strip comments from CSS

by sindresorhus

CSS

CSS94.2%
JavaScript5.3%
TypeScript0.5%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
andrey-semenoff

Hallo! Your plugin works good, but there is one annoying fact - after removing comment block it left empty line, and it looks not very tidily. I propose to add some options to plugin to have a choice (like in gulp-strip-comments): options.space ⇒ Boolean false (default) - remove comment blocks entirely true - replace comment blocks with white spaces where needed, in order to preserve the original line + column position of every code element. NOTE: When this option is enabled, option trim is ignored. options.trim ⇒ Boolean false (default) - do not trim comments true - remove empty lines that follow removed full-line comments NOTE: This option has no effect when option space is enabled. or at least add only first one. Thanks. IssueHunt Summary yaodingyd has been rewarded. Backers (Total: $80.00) issuehunt ($80.00) Submitted pull Requests #21 Add option Tips Checkout the Issuehunt explorer to discover more funded issues. Need some help from other developers? Add your repositories on IssueHunt to raise funds. IssueHunt has been backed by the following sponsors. Become a sponsor

andrey-semenoff · 6y ago
yaodingyd

Almost shameful to pick low-hanging fruit: fix #14. IssueHunt Summary Referenced issues This pull request has been submitted to: #14: Add option IssueHunt has been backed by the following sponsors. Become a sponsor

yaodingyd · 6y ago
Structured data for AI agents

Repository: sindresorhus/strip-css-comments. Description: Strip comments from CSS Stars: 123, Forks: 10. Primary language: CSS. Languages: CSS (94.2%), JavaScript (5.3%), TypeScript (0.5%). License: MIT. Latest release: v5.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, pgilad, sonicdoe, mika-cn, floatdrop, 7studio, yaodingyd.