{"id":28893791,"url":"https://github.com/unplugin/unplugin-oxc","last_synced_at":"2025-10-10T21:33:37.592Z","repository":{"id":276726562,"uuid":"930095453","full_name":"unplugin/unplugin-oxc","owner":"unplugin","description":"Oxc integration for unplugin.","archived":false,"fork":false,"pushed_at":"2025-10-03T06:00:01.000Z","size":661,"stargazers_count":33,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-03T07:24:13.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unplugin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"sxzz"}},"created_at":"2025-02-10T04:02:15.000Z","updated_at":"2025-09-16T17:05:07.000Z","dependencies_parsed_at":"2025-02-10T05:20:16.944Z","dependency_job_id":"94954062-e69f-4f0d-9fb0-e4353fca4672","html_url":"https://github.com/unplugin/unplugin-oxc","commit_stats":null,"previous_names":["unplugin/unplugin-oxc"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/unplugin/unplugin-oxc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-oxc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-oxc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-oxc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-oxc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unplugin","download_url":"https://codeload.github.com/unplugin/unplugin-oxc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unplugin%2Funplugin-oxc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278574014,"owners_count":26009096,"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-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2025-06-21T03:09:25.159Z","updated_at":"2025-10-10T21:33:37.587Z","avatar_url":"https://github.com/unplugin.png","language":"TypeScript","readme":"# unplugin-oxc\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Unit Test][unit-test-src]][unit-test-href]\n\n[Oxc](https://oxc.rs/) integration for unplugin.\n\n## Features\n\n- 🚀 **Blazing Fast**: Transform, resolve, and minify files with Oxc, built in Rust.\n- 🦾 **Powerful**: Supports TypeScript and React JSX transformation, identifier replacement, syntax lowering, and more.\n- 📦 **Zero Config**: No configuration needed for TypeScript support.\n- 🎨 **Customizable**: Fine-tune transform, resolve, and minify options.\n- 😈 **Drop-in Replacement**: Easily replace [rollup-plugin-esbuild](https://github.com/egoist/rollup-plugin-esbuild) and [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/master/packages/node-resolve).\n\n## Installation\n\n```bash\nnpm i -D unplugin-oxc\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// vite.config.ts\nimport Oxc from 'unplugin-oxc/vite'\n\nexport default defineConfig({\n  plugins: [Oxc()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRollup\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rollup.config.js\nimport Oxc from 'unplugin-oxc/rollup'\n\nexport default {\n  plugins: [Oxc()],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRolldown\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rolldown.config.js\nimport Oxc from 'unplugin-oxc/rolldown'\n\nexport default {\n  plugins: [Oxc()],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eesbuild\u003c/summary\u003e\u003cbr\u003e\n\n```ts\nimport { build } from 'esbuild'\nimport Oxc from 'unplugin-oxc/esbuild'\n\nbuild({\n  plugins: [Oxc()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eWebpack\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// webpack.config.js\nimport Oxc from 'unplugin-oxc/webpack'\n\nexport default {\n  /* ... */\n  plugins: [Oxc()],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRspack\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// rspack.config.js\nimport Oxc from 'unplugin-oxc/rspack'\n\nexport default {\n  /* ... */\n  plugins: [Oxc()],\n}\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eunloader\u003c/summary\u003e\u003cbr\u003e\n\n```ts\n// unloader.config.ts\nimport Oxc from 'unplugin-oxc/unloader'\n\nexport default defineConfig({\n  plugins: [Oxc()],\n})\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n## Usage\n\n```ts\ninterface Options {\n  /**\n   * @default [/\\.[cm]?[jt]sx?$/],\n   */\n  include?: FilterPattern\n  /**\n   * @default [/node_modules/],\n   */\n  exclude?: FilterPattern\n  enforce?: 'pre' | 'post' | undefined\n  /**\n   * Transform options passed to `oxc-transform`\n   */\n  transform?: Omit\u003cTransformOptions, 'sourcemap'\u003e | false\n  /**\n   * Resolve options passed to `oxc-resolver`\n   */\n  resolve?: NapiResolveOptions | false\n  /**\n   * The plugin will skip resolving node_modules by default.\n   * Set this to `true` to resolve node_modules.\n   * @default false\n   */\n  resolveNodeModules?: boolean\n  /**\n   * Minify options passed to `oxc-minify`\n   */\n  minify?: Omit\u003cMinifyOptions, 'sourcemap'\u003e | false\n  sourcemap?: boolean\n}\n```\n\n## Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## License\n\n[MIT](./LICENSE) License © 2025-PRESENT [Kevin Deng](https://github.com/sxzz)\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/unplugin-oxc.svg\n[npm-version-href]: https://npmjs.com/package/unplugin-oxc\n[npm-downloads-src]: https://img.shields.io/npm/dm/unplugin-oxc\n[npm-downloads-href]: https://www.npmcharts.com/compare/unplugin-oxc?interval=30\n[unit-test-src]: https://github.com/unplugin/unplugin-oxc/actions/workflows/unit-test.yml/badge.svg\n[unit-test-href]: https://github.com/unplugin/unplugin-oxc/actions/workflows/unit-test.yml\n","funding_links":["https://github.com/sponsors/sxzz"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugin%2Funplugin-oxc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funplugin%2Funplugin-oxc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funplugin%2Funplugin-oxc/lists"}