Check flow types in your Webpack builds!
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib Fix errors Sep 18, 2018
README.md Add 'forceFail' option Sep 18, 2018
_config.yml Set theme jekyll-theme-minimal Sep 23, 2018
index.js Add 'forceFail' option Sep 18, 2018
package.json Add 'forceFail' option Sep 18, 2018

README.md

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 = require('flowtype-webpack-plugin')

{
    ...your webpack config
    plugins: [
        new FlowtypeWebpackPlugin()
    ]
}

Plugin options

forceFail

new FlowtypeWebpackPlugin({ forceFail: true })

License

MIT