flowtype-webpack-plugin
Check flow types in your Webpack builds!
Requires Webpack v4
This plugin runs flow status
on your project's code before emitting
the compiled bundles.
Usage
Install the package:
npm i -D flowtype-webpack-plugin
Use the plugin:
const FlowtypeWebpackPlugin = ...your webpack config plugins:
Plugin options
warning
: boolean
Throw warnings instead of errors.
warning: true
forceFail
: boolean
Immediately kill the compilation process.
forceFail: true
License
MIT