Socket
Book a DemoInstallSign in
Socket

flowtype-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flowtype-webpack-plugin

Check flow types in your Webpack builds!

0.0.3
latest
Source
npmnpm
Version published
Weekly downloads
77
-59.9%
Maintainers
1
Weekly downloads
 
Created
Source

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

warning: boolean

Throw warnings instead of errors.

new FlowtypeWebpackPlugin({ warning: true })

forceFail: boolean

Immediately kill the compilation process.

new FlowtypeWebpackPlugin({ forceFail: true })

License

MIT

Keywords

flow

FAQs

Package last updated on 14 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.