43081j / postcss-lit

PostCSS syntax for extracting CSS from template literals inside JS/TS files
84 stars 6 forks source link

feat: add disable comments #36

Closed 43081j closed 1 year ago

43081j commented 1 year ago

This'll allow people to disable individual css stylesheets with a line comment:

// postcss-lit-disable-next-line
css`whatever`;

which should mean people having trouble with #35 can at least disable their complex interpolated sheets individually.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3613118991

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Files with Coverage Reduction New Missed Lines %
lib/parse.js 1 93.58%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 2974909770: 0.005%
Covered Lines: 670
Relevant Lines: 678

💛 - Coveralls