43081j / postcss-lit

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

feat: support custom config #45

Closed 43081j closed 1 year ago

43081j commented 1 year ago

Allows you to specify your own babel options in package.json, for example.

{
  "postcss-lit": {
    "babelOptions": {
      "plugins": ["jsx"]
    }
  }
}

Fixes #44

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4247075089

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 92.74%
lib/test/parse_test.js 1 99.49%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 3622874084: -0.02%
Covered Lines: 897
Relevant Lines: 905

💛 - Coveralls