{"id":15491568,"url":"https://github.com/diegohaz/webpack-spawn-plugin","last_synced_at":"2025-10-26T11:20:24.260Z","repository":{"id":65379346,"uuid":"89914643","full_name":"diegohaz/webpack-spawn-plugin","owner":"diegohaz","description":"A webpack plugin that runs child_process.spawn within compilation","archived":false,"fork":false,"pushed_at":"2018-07-13T10:08:02.000Z","size":123,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T23:15:53.785Z","etag":null,"topics":["child-process","spawn","webpack","webpack-plugin"],"latest_commit_sha":null,"homepage":"","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/diegohaz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-05-01T10:16:53.000Z","updated_at":"2018-08-24T14:44:00.000Z","dependencies_parsed_at":"2023-01-20T08:45:47.311Z","dependency_job_id":null,"html_url":"https://github.com/diegohaz/webpack-spawn-plugin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegohaz%2Fwebpack-spawn-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegohaz%2Fwebpack-spawn-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegohaz%2Fwebpack-spawn-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegohaz%2Fwebpack-spawn-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegohaz","download_url":"https://codeload.github.com/diegohaz/webpack-spawn-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306833,"owners_count":21408978,"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":["child-process","spawn","webpack","webpack-plugin"],"created_at":"2024-10-02T07:54:16.574Z","updated_at":"2025-10-26T11:20:19.236Z","avatar_url":"https://github.com/diegohaz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-spawn-plugin\n\n[![Generated with nod](https://img.shields.io/badge/generator-nod-2196F3.svg?style=flat-square)](https://github.com/diegohaz/nod)\n[![NPM version](https://img.shields.io/npm/v/webpack-spawn-plugin.svg?style=flat-square)](https://npmjs.org/package/webpack-spawn-plugin)\n[![Build Status](https://img.shields.io/travis/diegohaz/webpack-spawn-plugin/master.svg?style=flat-square)](https://travis-ci.org/diegohaz/webpack-spawn-plugin) [![Coverage Status](https://img.shields.io/codecov/c/github/diegohaz/webpack-spawn-plugin/master.svg?style=flat-square)](https://codecov.io/gh/diegohaz/webpack-spawn-plugin/branch/master)\n\nA webpack plugin that runs `child_process.spawn` within compilation.\n\n## Install\n\n    $ npm install --save-dev webpack-spawn-plugin\n\n## Usage\n\n```js\nimport SpawnPlugin from 'webpack-spawn-plugin'\n\nconst config = {\n  ...\n  plugins: [\n    new SpawnPlugin('node', ['.'], options)\n  ]\n}\n```\n\n### Options\n\n\u003e `when` (default: \"done\")\n\nThe [Webpack compiler hook](https://webpack.js.org/api/compiler-hooks/#hooks)\nduring which the process will be spawned.\n\n\u003e `stdio` (default: \"inherit\")\n\nThe output stream to which stdout and stderr will be sent.\n\n\u003e `persistent` (default: false)\n\nIndicates whether the spawned process should be replaced\nevery time the hook is called.\n\n**Note**: You can pass more options to process.spawn in the `options` objects.\n\n## License\n\nMIT © [Diego Haz](https://github.com/diegohaz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegohaz%2Fwebpack-spawn-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegohaz%2Fwebpack-spawn-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegohaz%2Fwebpack-spawn-plugin/lists"}