{"id":17344456,"url":"https://github.com/jwr1/unplugin-web-ext","last_synced_at":"2025-08-10T23:43:55.493Z","repository":{"id":57386798,"uuid":"467274040","full_name":"jwr1/unplugin-web-ext","owner":"jwr1","description":"Simplify web extension creation with Webpack, Rollup, Vite, and esbuild.","archived":false,"fork":false,"pushed_at":"2023-04-28T14:14:25.000Z","size":8,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T19:58:41.904Z","etag":null,"topics":["esbuild","plugin","rollup","unplugin","vite","web-ext","webpack"],"latest_commit_sha":null,"homepage":"https://npm.im/unplugin-web-ext","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/jwr1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-07T22:04:41.000Z","updated_at":"2025-02-20T06:22:18.000Z","dependencies_parsed_at":"2022-09-26T16:50:40.565Z","dependency_job_id":null,"html_url":"https://github.com/jwr1/unplugin-web-ext","commit_stats":null,"previous_names":["jwr12135/unplugin-web-ext"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwr1%2Funplugin-web-ext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwr1%2Funplugin-web-ext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwr1%2Funplugin-web-ext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwr1%2Funplugin-web-ext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwr1","download_url":"https://codeload.github.com/jwr1/unplugin-web-ext/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625554,"owners_count":21135517,"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","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":["esbuild","plugin","rollup","unplugin","vite","web-ext","webpack"],"created_at":"2024-10-15T16:25:21.268Z","updated_at":"2025-04-14T20:24:03.753Z","avatar_url":"https://github.com/jwr1.png","language":"TypeScript","readme":"# unplugin-web-ext\n\n[![NPM version](https://img.shields.io/npm/v/unplugin-web-ext?color=a1b858\u0026label=)](https://www.npmjs.com/package/unplugin-web-ext)\n\nSimplify web extension creation with Webpack, Rollup, Vite, and esbuild.\n\n## Install\n\n```bash\nnpm i unplugin-web-ext\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eWebpack\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// webpack.config.js\nconst { WebExtPlugin } = require('unplugin-web-ext/webpack');\n\nmodule.exports = {\n  /* ... */\n  plugins: [\n    WebExtPlugin({\n      /* options */\n    }),\n  ],\n};\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eRollup\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// rollup.config.js\nimport { WebExtPlugin } from 'unplugin-web-ext/rollup';\n\nexport default {\n  plugins: [\n    WebExtPlugin({\n      /* options */\n    }),\n  ],\n};\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eVite\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// vite.config.ts\nimport { WebExtPlugin } from 'unplugin-web-ext/vite';\n\nexport default defineConfig({\n  plugins: [\n    WebExtPlugin({\n      /* options */\n    }),\n  ],\n});\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eesbuild\u003c/summary\u003e\u003cbr\u003e\n\n```js\n// esbuild.config.js\nimport { build } from 'esbuild';\nimport { WebExtPlugin } from 'unplugin-icons/esbuild';\n\nbuild({\n  /* ... */\n  plugins: [\n    WebExtPlugin({\n      /* options */\n    }),\n  ],\n});\n```\n\n\u003cbr\u003e\u003c/details\u003e\n\n## Usage\n\n```js\nWebExtPlugin({\n  manifest: ['baseManifest.json', { name: 'my extension' }, 'genManifest.js'],\n  indent: 2,\n  pkgJsonProps: ['version', 'name: short_name'],\n});\n```\n\nSee [type definitions](src/types.ts) for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwr1%2Funplugin-web-ext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwr1%2Funplugin-web-ext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwr1%2Funplugin-web-ext/lists"}