{"id":17750561,"url":"https://github.com/nuintun/webpack-glob-entries-plugin","last_synced_at":"2025-04-01T18:30:49.831Z","repository":{"id":52244598,"uuid":"132154304","full_name":"nuintun/webpack-glob-entries-plugin","owner":"nuintun","description":"Provides a way to glob for entry files in Webpack watch and non-watch modes.","archived":false,"fork":false,"pushed_at":"2021-05-03T20:47:29.000Z","size":20,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-23T14:50:40.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/nuintun.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":"2018-05-04T14:59:24.000Z","updated_at":"2020-01-03T07:05:39.000Z","dependencies_parsed_at":"2022-08-30T19:52:00.924Z","dependency_job_id":null,"html_url":"https://github.com/nuintun/webpack-glob-entries-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-glob-entries-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-glob-entries-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-glob-entries-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2Fwebpack-glob-entries-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuintun","download_url":"https://codeload.github.com/nuintun/webpack-glob-entries-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246635949,"owners_count":20809331,"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":[],"created_at":"2024-10-26T12:22:37.284Z","updated_at":"2025-04-01T18:30:49.606Z","avatar_url":"https://github.com/nuintun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-glob-entries-plugin\n\n\u003e Provides a way to glob for entry files in Webpack watch and non-watch modes.\n\u003e\n\u003e [![NPM Version][npm-image]][npm-url]\n\u003e [![Download Status][download-image]][npm-url]\n\u003e ![Node Version][node-image]\n\u003e [![Dependencies][david-image]][david-url]\n\n### API\n\n```typescript\nnew WebpackGlobEntriesPlugin(globs: string|string[], options?: { glob: Object, resolveEntryName: Function });\n```\n\n\u003e\n\u003e * globs: The glob string or array of glob strings.\n\u003e * options: The configure options.\n\u003e   * options.glob: The [node-glob](https://github.com/isaacs/node-glob) configure options.\n\u003e   * options.resolveEntryName: The entry name resolve function.\n\n### Usage\n\n```js\nconst WebpackGlobEntriesPlugin = require('webpack-glob-entries-plugin');\n\nconst watcher = new WebpackGlobEntriesPlugin('src/js/pages/**/*.js');\n\nmodule.exports = {\n  mode: 'development',\n  entry: watcher.entries(),\n  output: {\n    publicPath: '/dist/',\n    path: path.resolve('dist'),\n    filename: 'js/pages/[name].js',\n    chunkFilename: 'js/chunks/[chunkhash].js'\n  },\n  plugins: [watcher]\n};\n```\n\n### Thanks\n\n\u003e [Milanzor/webpack-watched-glob-entries-plugin](https://github.com/Milanzor/webpack-watched-glob-entries-plugin)\n\n[npm-image]: https://img.shields.io/npm/v/webpack-glob-entries-plugin.svg?style=flat-square\n[npm-url]: https://www.npmjs.org/package/webpack-glob-entries-plugin\n[download-image]: http://img.shields.io/npm/dm/webpack-glob-entries-plugin.svg?style=flat-square\n[node-image]: https://img.shields.io/node/v/webpack-glob-entries-plugin.svg?style=flat-square\n[david-image]: http://img.shields.io/david/nuintun/webpack-glob-entries-plugin.svg?style=flat-square\n[david-url]: https://david-dm.org/nuintun/webpack-glob-entries-plugin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Fwebpack-glob-entries-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuintun%2Fwebpack-glob-entries-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Fwebpack-glob-entries-plugin/lists"}