{"id":15802464,"url":"https://github.com/cironunes/flow-webpack-next-plugin","last_synced_at":"2026-05-03T04:32:24.761Z","repository":{"id":57238819,"uuid":"175931281","full_name":"cironunes/flow-webpack-next-plugin","owner":"cironunes","description":"🧾 Webpack Flow plugin","archived":false,"fork":false,"pushed_at":"2019-03-25T22:17:54.000Z","size":90,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-06T02:01:46.063Z","etag":null,"topics":["flow","plugin","webpack"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cironunes.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}},"created_at":"2019-03-16T05:41:24.000Z","updated_at":"2023-05-08T13:26:23.000Z","dependencies_parsed_at":"2022-09-05T07:51:13.767Z","dependency_job_id":null,"html_url":"https://github.com/cironunes/flow-webpack-next-plugin","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cironunes%2Fflow-webpack-next-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cironunes%2Fflow-webpack-next-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cironunes%2Fflow-webpack-next-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cironunes%2Fflow-webpack-next-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cironunes","download_url":"https://codeload.github.com/cironunes/flow-webpack-next-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246547387,"owners_count":20794970,"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":["flow","plugin","webpack"],"created_at":"2024-10-05T02:00:36.528Z","updated_at":"2026-05-03T04:32:24.706Z","avatar_url":"https://github.com/cironunes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flow-webpack-next-plugin\n\n\u003e Webpack Flow plugin based on [flow-webpack-plugin](https://github.com/happylynx/flow-webpack-plugin)\n\n## Installation\n\n`yarn add --dev flow-webpack-next-plugin flow-bin`\n\n## Usage\n\n```js\nconst FlowWebpackPlugin = require('flow-webpack-next-plugin');\n\nmodule.exports = {\n  ...\n  plugins: [\n    ...\n    new FlowWebpackPlugin({\n      failOnError: false,\n      ...\n    }),\n    ...\n  }\n]\n\n```\n\n## Configuration\n\n| option | type | default value | description |\n| --- | --- | --- | --- |\n| `failOnError` | `boolean` | `false` | Webpack exits with non-zero error code if flow typechecking fails. |\n| `failOnErrorWatch` | `boolean` | `false` | Webpack in watch mode exits with non-zero error code if flow typechecking fails. |\n| `reportingSeverity` | \u003ccode\u003e'warning' \u0026#124; 'error'\u003c/code\u003e | `'error'` | Webpack severity level of reported flow type problems. When using webpack-dev-server, page reload is blocked in case of webpack error. `warning` can be used to enable page reloads in case of flow errors when using webpack-dev-server. |\n| `printFlowOutput` | `boolean` | `true` | `true` ~ Output of `flow` is printed at the end of webpack compilation in case of error, `false` ~ output of `flow` is discarded. |\n| `flowPath` | `string` | `require('flow-bin')` if `flow-bin` package is installed. Otherwise the parameter is required. | Path to flow executable. It may be both absolute, relative to the 'cwd' of webpack process or just name of an executable on the PATH.\n| `flowArgs` | `Array\u003cstring\u003e` | `['--color=always']` if standard output is directed to a terminal, otherwise `[]` | Flow command line arguments. See [flow cli documentation][1]. |\n| `verbose` | `boolean` | `false` | It enables plugin logging for debug purposes. |\n| `callback` | `({exitCode: number, stdout: string, stderr: string}) =\u003e ?Promise\u003cany\u003e` | `(result) =\u003e {}` | Custom user function that is called when Flow check finishes and is passed Flow type check result. If function returns a promise, it is called asynchronously. |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcironunes%2Fflow-webpack-next-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcironunes%2Fflow-webpack-next-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcironunes%2Fflow-webpack-next-plugin/lists"}