GitShow/sindresorhus/strip-css-comments
sindresorhus

strip-css-comments

Strip comments from CSS

by sindresorhus
Star on GitHubFork

CSS

125 stars10 forks9 contributorsQuiet · 3y agoSince 2014v5.0.0MIT

Meet the team

See all 9 on GitHub →
sindresorhus
sindresorhus38 contributions
BendingBender
BendingBender1 contribution
pgilad
pgilad1 contribution
sonicdoe
sonicdoe1 contribution
mika-cn
mika-cn1 contribution
floatdrop
floatdrop1 contribution
7studio
7studio1 contribution
yaodingyd
yaodingyd1 contribution

Languages

View on GitHub →
CSS94.2%
JavaScript5.3%
TypeScript0.5%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
arianabeballin
Update funding.ymlMergedPR
arianabeballin · 3y ago
andrey-semenoff
Add `whitespace` optionClosedIssue

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
Add `whitespace` optionMergedPR

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: 125, Forks: 10. Primary language: CSS. Languages: CSS (94.2%), JavaScript (5.3%), TypeScript (0.5%). License: MIT. Latest release: v5.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, pgilad, sonicdoe, mika-cn, floatdrop, 7studio, yaodingyd.

·@ofershap

Replace github.com with gitshow.dev