{"id":13846931,"url":"https://github.com/amitsingh-007/webpack-watch-external-files-plugin","last_synced_at":"2025-03-17T08:37:50.904Z","repository":{"id":65467508,"uuid":"368606726","full_name":"amitsingh-007/webpack-watch-external-files-plugin","owner":"amitsingh-007","description":"Webpack plugin to watch external files","archived":false,"fork":false,"pushed_at":"2025-01-01T15:24:25.000Z","size":369,"stargazers_count":8,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T00:40:34.585Z","etag":null,"topics":["npm","npm-package","watch-external-files","webpack","webpack-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/webpack-watch-external-files-plugin","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/amitsingh-007.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-05-18T17:00:35.000Z","updated_at":"2024-12-06T19:33:04.000Z","dependencies_parsed_at":"2024-06-21T01:05:48.183Z","dependency_job_id":"5c6f044c-f477-42c4-8123-504cfb66d85a","html_url":"https://github.com/amitsingh-007/webpack-watch-external-files-plugin","commit_stats":{"total_commits":49,"total_committers":3,"mean_commits":"16.333333333333332","dds":0.4693877551020408,"last_synced_commit":"40e6cd183ddd892966a31d0fbb361dcc28e91c0e"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitsingh-007%2Fwebpack-watch-external-files-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitsingh-007%2Fwebpack-watch-external-files-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitsingh-007%2Fwebpack-watch-external-files-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amitsingh-007%2Fwebpack-watch-external-files-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amitsingh-007","download_url":"https://codeload.github.com/amitsingh-007/webpack-watch-external-files-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243853617,"owners_count":20358451,"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":["npm","npm-package","watch-external-files","webpack","webpack-plugin"],"created_at":"2024-08-04T18:00:50.500Z","updated_at":"2025-03-17T08:37:50.627Z","avatar_url":"https://github.com/amitsingh-007.png","language":"TypeScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eWebpack Watch External Files Plugin\u003c/h1\u003e\n  \u003cp\u003eA Webpack Plugin having zero dependencies which allows you to watch external files which are not included in the webpack build. It triggers a webpack build if any external file changes.\u003c/p\u003e\n\u003c/div\u003e\n\n![npm](https://img.shields.io/npm/v/webpack-watch-external-files-plugin) ![bundlephobia](https://badgen.net/bundlephobia/min/webpack-watch-external-files-plugin) [![Publish on NPM](https://github.com/amitsingh-007/webpack-watch-external-files-plugin/actions/workflows/publish.yaml/badge.svg)](https://github.com/amitsingh-007/webpack-watch-external-files-plugin/actions/workflows/publish.yaml) ![node-lts](https://img.shields.io/node/v-lts/webpack-watch-external-files-plugin) ![NPM](https://img.shields.io/npm/l/webpack-watch-external-files-plugin)\n\n## Install\n\n```bash\nnpm install webpack-watch-external-files-plugin --save-dev\n# or\nyarn add webpack-watch-external-files-plugin --dev\n```\n\n## Usage\n\n```js\n// webpack.config.js:\n\nconst WatchExternalFilesPlugin = require('webpack-watch-external-files-plugin');\n\nmodule.exports = {\n  plugins: [\n    new WatchExternalFilesPlugin({\n      files: ['/path/**/*.js', '/path/tofile.txt', '!./src/**/*.json'],\n    }),\n  ],\n};\n```\n\n# Options\n\n```js\nnew WatchExternalFilesPlugin({\n  files: [],\n});\n```\n\n- files[`list\u003cstring\u003e`] - a list of files or glob patterns\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitsingh-007%2Fwebpack-watch-external-files-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famitsingh-007%2Fwebpack-watch-external-files-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famitsingh-007%2Fwebpack-watch-external-files-plugin/lists"}