{"id":16005557,"url":"https://github.com/kwaa/hexo-lightningcss","last_synced_at":"2025-10-15T03:57:46.939Z","repository":{"id":61568659,"uuid":"551992542","full_name":"kwaa/hexo-lightningcss","owner":"kwaa","description":"⚡️ LightningCSS Plugin for Hexo","archived":false,"fork":false,"pushed_at":"2023-01-24T15:12:35.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T23:44:36.130Z","etag":null,"topics":["hexo","hexo-filter","hexo-plugin","lightningcss"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/hexo-lightningcss","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kwaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-15T15:10:09.000Z","updated_at":"2022-10-15T15:45:33.000Z","dependencies_parsed_at":"2023-02-13T22:46:06.966Z","dependency_job_id":null,"html_url":"https://github.com/kwaa/hexo-lightningcss","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kwaa/hexo-lightningcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwaa%2Fhexo-lightningcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwaa%2Fhexo-lightningcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwaa%2Fhexo-lightningcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwaa%2Fhexo-lightningcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kwaa","download_url":"https://codeload.github.com/kwaa/hexo-lightningcss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwaa%2Fhexo-lightningcss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279045554,"owners_count":26092228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hexo","hexo-filter","hexo-plugin","lightningcss"],"created_at":"2024-10-08T11:05:16.808Z","updated_at":"2025-10-15T03:57:46.892Z","avatar_url":"https://github.com/kwaa.png","language":"TypeScript","readme":"# hexo-lightningcss\n\n⚡️ [LightningCSS](https://github.com/parcel-bundler/lightningcss) Plugin for [Hexo](https://github.com/hexojs/hexo)\n\n## Install\n\n```bash\nnpm i hexo-lightningcss # npm\n# pnpm add hexo-lightningcss # pnpm\n# yarn add hexo-lightningcss # yarn\n```\n\n## Config\n\n```ts\n/** @see {@link https://github.com/parcel-bundler/lightningcss/blob/master/node/index.d.ts} */\nexport type HexoLightningCSSConfig = Omit\u003c\n  TransformOptions,\n  'filename' | 'code'\n\u003e \u0026 {\n  /**\n   * Browserslist.\n   * @see {@link https://github.com/browserslist/browserslist/blob/main/index.d.ts}\n   */\n  browserslist?: string | string[]\n  /**\n   * Exclude files.\n   * @remarks If using an array, run as `new RegExp(arr[0], arr[1])`\n   * @defaultValue `['min.css']`\n   */\n  exclude?: (string | [string, string])[]\n}\n```\n\nWrite into `_config.yml` to override default value.\n\n```yaml\nlightningcss:\n  browserslist:\n    - defaults and supports es6-module\n    - maintained node versions\n  exclude:\n    - min.css\n```\n\n### Migrating from [`hexo-autoprefixer`](https://npmjs.com/package/hexo-autoprefixer)\n\nThis plugin is compatible with hexo-autoprefixer configuration, no changes are needed.\n\nBut if you want, you can also change to the new format:\n\n```diff\n- autoprefixer:\n+ lightningcss:\n    exclude:\n      - '*.min.css'\n-   browsers:\n+   browserslist:\n      - 'last 2 versions'\n```\n\nBrowserlist may need to be put into a configuration file `_config.yml`, not `package.json` or `.browserslistrc`.\n\n## License\n\nLicensed under the [WTFPL](http://www.wtfpl.net), See the [COPYING](COPYING) file for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwaa%2Fhexo-lightningcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkwaa%2Fhexo-lightningcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwaa%2Fhexo-lightningcss/lists"}