• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

clay / claycli
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: jordan/vite-lightningcss
DEFAULT BRANCH: master
Repo Added 25 May 2017 03:10PM UTC
Files 34
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH jordan/vite-lightningcss
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 4.x
  • action_update
  • action_version
  • amelvisfranco-patch-2
  • amelvisfranco-patch-3
  • async-await
  • async-defer
  • autoprefixer-config-support
  • babel
  • babel-modules
  • bare-exports
  • browserified
  • browserslist
  • bump-handlebars
  • bumping-version
  • change_pr_templates
  • circle2
  • clay-pack-spike
  • clayconfigjs-readme
  • clayhandlebars_pin_hbs
  • compilation
  • compilation-bugs
  • compile
  • config_fix
  • coveralls-3
  • default-key-order
  • dependabot/npm_and_yarn/fstream-1.0.12
  • dependabot/npm_and_yarn/handlebars-4.7.3
  • dependabot/npm_and_yarn/js-yaml-3.13.1
  • dependabot/npm_and_yarn/lodash.mergewith-4.6.2
  • dependabot/npm_and_yarn/mixin-deep-1.3.2
  • devdep
  • disable-common-shake
  • doc_update
  • docs-update
  • docs_update
  • downgrade-handlebars
  • env-var
  • fix-dev-builds
  • fix-release-script
  • fix-url
  • fix_version_page
  • fixing-compilation
  • freeze-event-stream
  • git_action
  • headers
  • icon_issue
  • import-obj
  • init-regexp
  • issues_awnsers
  • jordan/client-state-docs
  • jordan/document-node-globals-config
  • jordan/document-vite-in-readme
  • jordan/edit-no-mount
  • jordan/fix-aws-region-fallback
  • jordan/fix-buffer-stub
  • jordan/fix-client-init-mounting-docs
  • jordan/fix-only-steps-complexity
  • jordan/fix-url-imports
  • jordan/fix-vite-compile-scopeid-mismatch
  • jordan/fix-vite-env-collector-destructure
  • jordan/fix-vite-env-hydration-order
  • jordan/free-cjs-refs-loop-guards
  • jordan/harden-browser-stubs
  • jordan/import-publish-order
  • jordan/improve-vite-coverage
  • jordan/kiln-init-diagnostics
  • jordan/migrate-to-github-actions
  • jordan/node-globals-diagnostics
  • jordan/npm-files-whitelist
  • jordan/optimistic-rhodes-876767
  • jordan/postcss-chain-parity
  • jordan/relative-preloads
  • jordan/stub-member-gaps
  • jordan/upgrade-claycli
  • jordan/vite-chunk-retry
  • jordan/vite-css-sites-targeting
  • jordan/vite-lightningcss
  • jordan/vite-modulepreload
  • jordan/vite-npm-component-templates
  • jordan/vite-stable-output
  • jordan/vite-subsite-media
  • jordan/yolo-update
  • jowen/font-files
  • jowen/font_files
  • jowen/page-publish-flag
  • kilnjs
  • kwadwo/relative-service-require
  • layouts
  • lint-ext
  • love2doc
  • master
  • mem-safe-load
  • moberle/fix-minify-envvar
  • moberle/update-dependencies
  • no-public-font-files
  • npm-templates
  • nyancat
  • parse-bootstraps
  • parseBootstrapJson
  • postcss-plugin-reorder
  • precss
  • prerelease
  • public-fonts
  • pull_request_template
  • realfixforcompilation
  • redesign_task
  • rf.scannable-readme
  • ronin
  • search_bar
  • single-page-export
  • subsite-support
  • test-deploy
  • testing-fixes
  • two-oh
  • underscore
  • update-readme-export
  • update_action
  • update_actions
  • upgrade-dependencies
  • v5-rc
  • v6.0.0-rc.0
  • v6.0.0-rc.1
  • v6.0.0-rc.10
  • v6.0.0-rc.11
  • v6.0.0-rc.2
  • v6.0.0-rc.3
  • v6.0.0-rc.4
  • v6.0.0-rc.5
  • v6.0.0-rc.6
  • v6.0.0-rc.7
  • v6.0.0-rc.8
  • v6.0.0-rc.9
  • version_update
  • vueify-sass-bump
  • webpack-dev

22 Oct 2026 02:31PM UTC coverage: 84.815% (-0.07%) from 84.881%
39796429394

Pull #277

github

jjpaulino
🍕 vite: compile CSS with Lightning CSS across worker threads

The styles step ran autoprefixer and cssnano on the main thread; cssnano was
about two thirds of its time. Keep postcss-import, postcss-mixins,
postcss-simple-vars and postcss-nested, then run Lightning CSS for vendor
prefixes and minification, and compile files across worker threads (one per
core minus one, up to 8; the main thread for small builds and watch
rebuilds). On nymag/sites (2,872 files) `clay vite --only styles` goes from
~17 s to 2.6 s (5.5 s on the main thread), with slightly smaller output.

Lightning CSS targets the project's browserslist (or stylesConfig
`browserslist`). It treats them as the oldest browsers to support: once all
of them support newer syntax it prints that syntax and drops fallbacks. So
autoprefixer's overrideBrowserslist (a usage share like '> 2%', which would
make it print range media queries Safari < 16.4 ignores) is no longer read;
autoprefixerOptions is ignored with a warning.

CSS that Lightning CSS cannot parse is an error at its source file and line.
Every file still compiles and is written, then the styles step fails so
`clay vite` exits non-zero (`--watch` keeps running); files PostCSS cannot
compile fail it too. stylesConfig keeps working (it re-runs in each worker)
and gains `browserslist` and `lightningcssOptions`; `plugins` still run
before Lightning CSS. CLAY-VITE.md documents the options and the CSS
patterns Lightning CSS 1.33 mishandles. clay compile is unchanged.
Pull Request #277: 🍕 vite: compile CSS with Lightning CSS across worker threads

993 of 1264 branches covered (78.56%)

Branch coverage included in aggregate %.

123 of 140 new or added lines in 3 files covered. (87.86%)

1984 of 2246 relevant lines covered (88.33%)

27.09 hits per line

Relevant lines Covered
Build:
Build:
2246 RELEVANT LINES 1984 COVERED LINES
27.09 HITS PER LINE
Source Files on master
  • Tree
  • List 34
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39796429394 jordan/vite-lightningcss 🍕 vite: compile CSS with Lightning CSS across worker threads The styles step ran autoprefixer and cssnano on the main thread; cssnano was about two thirds of its time. Keep postcss-import, postcss-mixins, postcss-simple-vars and postcss-nested, t... Pull #277 22 Oct 2026 02:32PM UTC jjpaulino github
84.81
39795133548 v6.0.0-rc.11 6.0.0-rc.11 push 22 Oct 2026 02:23PM UTC jjpaulino github
84.88
39795130329 master 6.0.0-rc.11 push 22 Oct 2026 02:23PM UTC jjpaulino github
84.88
39720726662 master 🍕 vite: stop build output varying with transform order and filesystem order (#276) push 22 Oct 2026 04:09AM UTC web-flow github
84.88
39716886775 jordan/vite-stable-output 🍕 docs: build output stability in CLAY-VITE.md What no longer varies between builds of the same source, the known commonjs strictRequires:'auto' exception (Kiln bundle) and how to remove a specific case, and how to check a site. Co-Authored-By: ... Pull #276 22 Oct 2026 03:27AM UTC jjpaulino github
84.88
39716272538 jordan/vite-chunk-retry Revert the deterministic-build commits; the cheap fixes move to their own PR Reverts 94d6d21, 89bd965, 476c867 and b1d29dc. The commonjs check-and-rebuild (strict-requires.js) is dropped: on nymag/sites it rebuilt both passes on nearly every buil... Pull #269 22 Oct 2026 03:21AM UTC jjpaulino github
85.29
39711945805 jordan/vite-chunk-retry 🍕 docs: deterministic builds in CLAY-VITE.md What used to vary between builds of the same source, how the commonjs wrapping check works and what it costs, and how to check a site. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Pull #269 22 Oct 2026 02:40AM UTC jjpaulino github
85.62
39711948035 jordan/vite-chunk-retry Merge 94d6d21c9 into 00ea492c7 Pull #269 22 Oct 2026 02:33AM UTC web-flow github
85.62
39698751049 master 🍕 import: publish after every draft is in, pages last, and exit 1 on errors (#275) push 22 Oct 2026 12:17AM UTC web-flow github
84.76
39694731768 jordan/import-publish-order 🍕 import: publish after every draft is in, pages last, and exit 1 on errors `clay import --publish` sent each item's @published PUT right after its own draft, with `concurrency` items in flight. `clay export` emits a page's components and layout ... Pull #275 21 Oct 2026 11:39PM UTC jjpaulino github
84.76
See All Builds (904)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc