{"id":13809321,"url":"https://github.com/abhijithvijayan/wext-manifest-webpack-plugin","last_synced_at":"2025-04-01T16:30:53.132Z","repository":{"id":57150683,"uuid":"252208528","full_name":"abhijithvijayan/wext-manifest-webpack-plugin","owner":"abhijithvijayan","description":"Webpack plugin to solve the problem of generating js file for manifest.json entry","archived":false,"fork":false,"pushed_at":"2024-04-08T15:06:25.000Z","size":29,"stargazers_count":4,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-11T20:32:42.576Z","etag":null,"topics":["plugin","webpack","wext-manifest"],"latest_commit_sha":null,"homepage":"https://github.com/abhijithvijayan/wext-manifest-loader","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/abhijithvijayan.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},"funding":{"github":["abhijithvijayan"],"patreon":"abhijithvijayan","open_collective":"abhijithvijayan","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":"abhijithvijayan","otechie":null,"lfx_crowdfunding":null,"custom":["https://www.buymeacoffee.com/abhijithvijayan","https://www.paypal.me/iamabhijithvijayan"]}},"created_at":"2020-04-01T15:05:44.000Z","updated_at":"2024-07-14T17:53:19.000Z","dependencies_parsed_at":"2024-06-21T13:09:52.036Z","dependency_job_id":null,"html_url":"https://github.com/abhijithvijayan/wext-manifest-webpack-plugin","commit_stats":{"total_commits":37,"total_committers":1,"mean_commits":37.0,"dds":0.0,"last_synced_commit":"995e6f3c7cea420404bf5e447fb650ca59e91dec"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijithvijayan%2Fwext-manifest-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijithvijayan%2Fwext-manifest-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijithvijayan%2Fwext-manifest-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhijithvijayan%2Fwext-manifest-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhijithvijayan","download_url":"https://codeload.github.com/abhijithvijayan/wext-manifest-webpack-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620346,"owners_count":20806756,"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":["plugin","webpack","wext-manifest"],"created_at":"2024-08-04T01:02:17.640Z","updated_at":"2025-04-01T16:30:52.894Z","avatar_url":"https://github.com/abhijithvijayan.png","language":"TypeScript","funding_links":["https://github.com/sponsors/abhijithvijayan","https://patreon.com/abhijithvijayan","https://opencollective.com/abhijithvijayan","https://issuehunt.io/r/abhijithvijayan","https://www.buymeacoffee.com/abhijithvijayan","https://www.paypal.me/iamabhijithvijayan","https://www.patreon.com/abhijithvijayan","https://www.buymeacoffee.com/abhijithvijayan'"],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ewext-manifest-webpack-plugin\u003c/h1\u003e\n\u003cp align=\"center\"\u003eWebpack plugin to solve the problem of generating js file for manifest.json entry\u003c/p\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/wext-manifest-webpack-plugin\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/wext-manifest-webpack-plugin\" alt=\"NPM\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/abhijithvijayan/wext-manifest-webpack-plugin\"\u003e\n    \u003cimg src=\"https://travis-ci.org/abhijithvijayan/wext-manifest-webpack-plugin.svg?branch=main\" alt=\"Travis Build\" /\u003e\n  \u003c/a\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://david-dm.org/abhijithvijayan/wext-manifest-webpack-plugin\"\u003e\n    \u003cimg src=\"https://img.shields.io/david/abhijithvijayan/wext-manifest-webpack-plugin.svg?colorB=orange\" alt=\"DEPENDENCIES\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/abhijithvijayan/wext-manifest-webpack-plugin/blob/main/license\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/abhijithvijayan/wext-manifest-webpack-plugin.svg\" alt=\"LICENSE\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/intent/tweet?text=Check%20out%20wext-manifest-webpack-plugin%21%20by%20%40_abhijithv%0A%0AWebpack%20plugin%20to%20solve%20the%20problem%20of%20generating%20js%20file%20for%20manifest.json%20entry%0Ahttps%3A%2F%2Fgithub.com%2Fabhijithvijayan%2Fwext-manifest-webpack-plugin%0A%0A%23webpack%20%23manifest%20%23webextension%20%23plugin\"\u003e\n     \u003cimg src=\"https://img.shields.io/twitter/url/http/shields.io.svg?style=social\" alt=\"TWEET\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003ch3 align=\"center\"\u003e🙋‍♂️ Made by \u003ca href=\"https://twitter.com/_abhijithv\"\u003e@abhijithvijayan\u003c/a\u003e\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  Donate:\n  \u003ca href=\"https://www.paypal.me/iamabhijithvijayan\" target='_blank'\u003e\u003ci\u003e\u003cb\u003ePayPal\u003c/b\u003e\u003c/i\u003e\u003c/a\u003e,\n  \u003ca href=\"https://www.patreon.com/abhijithvijayan\" target='_blank'\u003e\u003ci\u003e\u003cb\u003ePatreon\u003c/b\u003e\u003c/i\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href='https://www.buymeacoffee.com/abhijithvijayan' target='_blank'\u003e\n    \u003cimg height='36' style='border:0px;height:36px;' src='https://bmc-cdn.nyc3.digitaloceanspaces.com/BMC-button-images/custom_images/orange_img.png' border='0' alt='Buy Me a Coffee' /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003chr /\u003e\n\n❤️ it? ⭐️ it on [GitHub](https://github.com/abhijithvijayan/wext-manifest-webpack-plugin/stargazers) or [Tweet](https://twitter.com/intent/tweet?text=Check%20out%20wext-manifest-webpack-plugin%21%20by%20%40_abhijithv%0A%0AWebpack%20plugin%20to%20solve%20the%20problem%20of%20generating%20js%20file%20for%20manifest.json%20entry%0Ahttps%3A%2F%2Fgithub.com%2Fabhijithvijayan%2Fwext-manifest-webpack-plugin%0A%0A%23webpack%20%23manifest%20%23webextension%20%23plugin) about it.\n\n## Table of Contents\n\n- [How it works](#how-it-works)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Issues](#issues)\n  - [🐛 Bugs](#-bugs)\n- [Linting \u0026 TypeScript Config](#linting-\u0026-typescript-config)\n- [LICENSE](#license)\n\n## How it works\n\nIt just find js files from manifest entry and remove the js file from the compilation.\n\n### Looking for Web Extension starter\n\nCheckout [web-extension-starter](https://github.com/abhijithvijayan/web-extension-starter) that uses this plugin\n\n## Installation\n\n```sh\n# npm\nnpm install --save-dev wext-manifest-webpack-plugin\n\n# yarn\nyarn add wext-manifest-webpack-plugin --dev\n```\n\nVersion `1.4.0` adds support for webpack 5. Backward compatible with webpack 4 as well.\n\n## Usage\n\n```js\n// ... other plugins\nconst WextManifestWebpackPlugin = require(\"wext-manifest-webpack-plugin\");\n\nmodule.exports = {\n    entry: {\n        manifest: './source/manifest.json',\n        // ...\n    },\n\n    output: {\n        path: path.join(destPath, targetBrowser),\n        filename: 'js/[name].js',\n    },\n\n    module: {\n        rules: [\n            {\n                type: 'javascript/auto', // prevent webpack handling json with its own loaders,\n                test: /manifest\\.json$/,\n                use: 'wext-manifest-loader',\n                exclude: /node_modules/,\n            },\n        ]\n    },\n\n    plugins: [\n        new WextManifestWebpackPlugin(),\n        // ...\n    ],\n};\n```\n\n## Issues\n\n_Looking to contribute? Look for the [Good First Issue](https://github.com/abhijithvijayan/wext-manifest-webpack-plugin/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22good+first+issue%22)\nlabel._\n\n### 🐛 Bugs\n\nPlease file an issue [here](https://github.com/abhijithvijayan/wext-manifest-webpack-plugin/issues/new) for bugs, missing documentation, or unexpected behavior.\n\n[**See Bugs**](https://github.com/abhijithvijayan/wext-manifest-webpack-plugin/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22type%3A+bug%22)\n\n## Linting \u0026 TypeScript Config\n\n- Shared Eslint \u0026 Prettier Configuration - [`@abhijithvijayan/eslint-config`](https://www.npmjs.com/package/@abhijithvijayan/eslint-config)\n- Shared TypeScript Configuration - [`@abhijithvijayan/tsconfig`](https://www.npmjs.com/package/@abhijithvijayan/tsconfig)\n\n## License\n\nMIT © [Abhijith Vijayan](https://abhijithvijayan.in)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhijithvijayan%2Fwext-manifest-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhijithvijayan%2Fwext-manifest-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhijithvijayan%2Fwext-manifest-webpack-plugin/lists"}